I installed php-4.2.3 and Apache_1.3.27 on my Windows XP system and managed to get Apache working but cannot execute the PHP code in the html document. (The html code displays fine, but the PHP code doesnft do anything.) (Ifve been trying to get this running for a week now.) Ifm trying to install PHP as a server module of Apache.
I suspect the problem may be that Apache somehow isnft starting PHP; is there any way to check this?
I appreciate any help you can give.
Some of the settings of the httpd.conf file are as follows:
ServerType standalone
ServerRoot "D:/Program Files/Apache Group/Apache"
PidFile logs/httpd.pid
KeepAlive On
MaxKeepAliveRequests 100
UserDir "D:/Program Files/Apache Group/Apache/users/"
<Directory "D:/Program Files/Apache Group/Apache/icons">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
ScriptAlias /cgi-bin/ "D:/Program Files/Apache Group/Apache/cgi-bin/"
<Directory "D:/Program Files/Apache Group/Apache/cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
</IfModule>
AddType application/x-tar .tgz
ScriptAlias /php/ "d:/php/"
AddType application/x-httpd-php. php
AddType application/x-httpd-php. php3
AddType application/x-httpd-php. php4
AddType application/x-httpd-php. htm
AddType application/x-httpd-php. html
AddType application/x-httpd-php. phtml
Action application/x-httpd-php "/php/php.exe"
AddType image/x-icon .ico
BrowserMatch "Mozilla/2" nokeepalive
BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
LoadModule php4_module d:/php/sapi/php4apache.dll
😕