Hello All-
I am running an Apache2 server on a Windoze box.
I recently installed php5, mysql and phpmyadmin. Soon after installation, I realized that I had the "PHPIniDir" directive pointing to the wrong file causing php to not change no matter how much I changed php.ini.
I fixed the directive and now php wont work!
When I go to http://localhost/test.php, the screen is blank and the php code is shown in the source (i.e. phpinfo(); )
I checked the php manual faq and it says that this means that the server isn't sending the file to the php interpreter, but does anybody know how to make it send the file?
httpd.conf:
LoadModule php5_module modules/php5apache2.dll
PHPIniDir C:\php
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps