Monday, April 18, 2011

internal server error in php

This error is most common while using htaccess if htaccess is not enable in localhost we will get this error.

We can solve this error by enable the Htaccess


Open AppSer installed folder in that find conf folder and find httpd.conf file. In that file find below line(LoadModule rewrite_module modules/mod_rewrite.so)

For Example In Windows: D:\AppServ\Apache2.2\conf\

"LoadModule rewrite_module modules/mod_rewrite.so" if hash is there before the line remove that hash("#") and save the file and restart the AppServer to work

for remaining servers also same procedure i.e have to find the httpd.conf file and have to remove the starting # from the mod_rewrite line and restart the server

No comments:

Post a Comment