
January 10th, 2007, 10:23 PM
|
|
Registered User
|
|
Join Date: Jan 2007
Posts: 1
Time spent in forums: 47 m 55 sec
Reputation Power: 0
|
|
|
Configuring PHP and Apache
I'm not new to the php programming language, but this is my first time installing PHP and Apache.
I'm working with Windows XP. I downloaded Apache2.2.3 and it is working fine, but after installing PHP5.2.0, I tried to view a PHP file (date display page) and all it gave me was a blank screen. To be specific... as far as i've figured, shows everything EXCEPT the php.
I added C:\php; to the value of the PATH environment variable.
I also added the following to the httpd.conf file:
PHP Code:
LoadModule php5_module "c:/php/php5apache2_2.dll"
AddType application/x-httpd-php .php
Finally, i changed the php.ini-recommended file to simply php.ini and changed extension_dir to "C:\php\ext"
Is this correct and is there anything i neglected to change?
I'm not sure if it helps at all, but when I open the Apache monitor, the dev5_ap1 will not start... it says it can't find the path specified.
Thanks
|