PHP5 on Apache saving .php files
I've been working for weeks to get the right configuration and was beating my brains in to get the httpd.conf file to stop reporting errors when upgrading from PHP4 (4.4.2) to PHP5 (5.1.4). Finally I found a good resource and successfully can stop and start the server with the PHP 5 configuration in place.
And now nothing which runs php works at all. Instead of loading up the expected pages, I am prompted to save the .php file (Firefox) and on a Windows machine in IE it simply loads a "Page cannot be displayed" message.
Here are the notable lines from my httpd.conf file regarding php:
I've seen the .phps line written with or without the "." and I have tried both ways.
I have seen this noed on a couple of other posts here and there with possible resolutions? Not really sure or if the issue was simply dropped.
I run php5 with no problems, try ### all the lines but this
LoadModule php5_module /usr/lib/httpd/modules/libphp5.so
and restart apache. Should work. By the way I assume libphp5.so is in the correct folder.
For the couple months I have been fighting these issues, you bet...
I upgraded my version of apache to 2.2.3 and it appears to be working now. Evidently there are some issues (notably unpublished issues) with 2.0.46. Now I just have to rectify a MySQL issue with connectivity to my database.
|All times are GMT -5. The time now is 05:46 PM.|