HomeOpensources

PHP: How to enable rewrite_mod in WAMP

PHP: How to enable rewrite_mod in WAMP
Like Tweet Pin it Share Share Email

Have a look on below Image and follow the steps to make “rewrite_mod” on WAMP server.

 

enable-rewrite_mod-wamp

 

You all know WAMP stands for (Windows, Apache, MySQL, PHP), It is package provide you an environment to execute your PHP application.

 

But the general issue you have faced with WAMP is, your rewrite rules usually not work i.e. .htaccess file is not read by Apache server (in WAMP) or give you error “Internal Server Error”.

 

You have to follow 2 simple steps to troubleshoot and fix the issue.

 

1) If you have installed WAMP on your system, then you can find a small icon in your task bar bottom right corner.

 

2) Click on that, you will see a menu as above

Go to
=>Apache
=>Apache Modules
=>click on rewrite_module
Check/tick marks that option, if you find it checked already that means it’s already enabled.

Save