PHP not processed [SOLVED]
Posted: Sat Feb 14, 2004 2:54 pm
I've set up PHP 4.2.2 and Apache 1.3.29 (the versions my host uses) on XP Home. Seems a standard installation except I put PHP in c:\program files\php. Running the Apache php module.
The problem is my php scripts don't get processed, even in the simplest hello world script. If I view source in my browser I see the php tags.
But phpinfo() is running ok and gives me sensible values.
From httpd.conf:
From php.ini:
I've only just started learning so I'm sure I've made an obvious mistake, but nothing I've read or tried seems to be the cause. Would be grateful for some suggestions 
The problem is my php scripts don't get processed, even in the simplest hello world script. If I view source in my browser I see the php tags.
But phpinfo() is running ok and gives me sensible values.
From httpd.conf:
Code: Select all
ScriptAlias /php/ "C:/Program Files/PHP/"
LoadModule php4_module "C:/Program Files/PHP/sapi/php4apache.dll"
Action application/x-httpd-php /php/php.exe
AddType application/x-httpd-php .php
DocumentRoot "E:/Homepage/v2/Root/"
ServerName 127.0.0.1Code: Select all
error_reporting = E_ALL
display_errors = on
display_startup_errors = on
doc_root = "E:/Homepage/v2/Root/"