ItSolutionStuff.com

How to Solve Overwrite index.php in Windows Wampserver?

By Hardik Savani • May 14, 2024
PHP Wampserver Installation

Many time you have face a problem in windows wampserver or virtualhost of index.php file overwrite. i also fetch that problem like:

http://localhost/test/index.php/admin

In this url you can see index.php wtite in url, but URL must be without index.php. so if you are using windows wampserver then you can easily solve out this problem by folowing step:

1. Open File : C:\wamp\bin\apache\Apache2.4.4\conf\httpd.conf

2. Find : #LoadModule rewrite_module modules/mod_rewrite.so and

Then, Just Change, Only remove ‘#’ sign.

#LoadModule rewrite_module modules/mod_rewrite.so

INTO

LoadModule rewrite_module modules/mod_rewrite.so

3.Restart: restart your wampserver.

At last you can open without index.php file like:

http://localhost/test/admin

Try this.........

Tags: PHP
Hardik Savani

Hardik Savani

I'm a full-stack developer, entrepreneur, and founder of ItSolutionStuff.com. Passionate about PHP, Laravel, JavaScript, and helping developers grow.

📺 Subscribe on YouTube

We Are Recommending You

Laravel Get Min Value of Column Example

Read Now →

How to Remove Numbers from String in PHP?

Read Now →

PHP nl2br() Function Example Tutorial

Read Now →

Angular Window Scroll Event Example

Read Now →

JQuery Open Link in New Window Example

Read Now →

How to Install Laravel on Windows Xampp Server?

Read Now →

MySQL Query to Get Current Year Data Example

Read Now →

How to Get File Name without Extension in PHP?

Read Now →

How to Remove White Space from String in PHP?

Read Now →

Mediafire PHP File Uploading and Get Link Example

Read Now →

How to Find Day Name from Specific Date in PHP?

Read Now →

How to use Google Maps API with JQuery PHP?

Read Now →