Hi All,
I have been trying to get PHP up and running. However, any PHP code I have in any file is ignored. All HTML runs fine. I have installed PHP, and I put the following lines of code into the httpd.conf file:
LoadModule php5_module "c:/xampp/php/php5apache2_4.dll"
PHPIniDir "c:/xampp/php"
AddType application/x-httpd-php .php
However, the second line that points to the PHP init file causes Apache to crash, with the following message:
8:00:39 PM [Apache] Error: Apache shutdown unexpectedly.
8:00:39 PM [Apache] This may be due to a blocked port, missing dependencies,
8:00:39 PM [Apache] improper privileges, a crash, or a shutdown by another method.
8:00:39 PM [Apache] Check the "/xampp/apache/logs/error.log" file
8:00:39 PM [Apache] and the Windows Event Viewer for more clues
The error.log file for Apache is empty. So I'm assuming this may be a program bug.
If I comment out the second line, it acts as if PHP doesn't exist.
Anyone know any fixes / workarounds?