Php files don't load in my Apache Server
Hi,
I try to configure Apache to load Php. Everything works for Php4, but I upgrade to Php5. I compile Php5 with apxs2 path, and it configures me the file: Code:
LoadModule php4_module /usr/lib/apache2/libphp4.so When I hit in the console: php -f /path/to/file , it works. But no php files are load in .Apache I also restart it. |
You cannot run add php support in apache for both php4 and php5 using modules. One of the phps must be run as a cgi. There are lots of howtos about the required configuration. Here is one written for Debian based distros.
|
Hi Bathory,
I comment this: #LoadModule php4_module /usr/lib/apache2/libphp4.so It works. I believe that Php5 add support for php4 in this way. Thank you very much! |
All times are GMT -5. The time now is 05:46 AM. |