Click to See Complete Forum and Search --> : PHP5.2.5 + Apache2.2.8 for XP cannot view PHP


ddlam
05-01-2008, 12:53 PM
I followed the guildline in this board to install PHP5.2.5 + Apache2.2.8
http://phpbuilder.com/board/showthread.php?t=10341740

Apache start with no error. I can see html pages.

LoadModule php5_module "C:/Program Files (x86)/Web Server/php5/php5apache2.dll"
is changed to
LoadModule php5_module "D:/php/php5apache2_2.dll"

It also loaded with no error.

but I cannot run <?phpinfo();?> or <?echo "test";?>. http://127.0.0.1/phpinfo.php return original content of <?phpinfo();?>

What can I check now????
I don't want to use xampp as it changes the directory.

laserlight
05-02-2008, 10:08 AM
You probably forgot the:
AddType application/x-httpd-php .php
part

ddlam
05-02-2008, 12:22 PM
laserlight, I added the script as well

You probably forgot the:
AddType application/x-httpd-php .php
part

However, I think the problem is gone.

Everyone look at this issue please take at look a php.net now

They released PHP 5.2.6. I download the .zip package for win32. Happily, PHP is running now:rolleyes: :D

After I removed the path(Environment variable) added by .msi installer or manually installation. I can see the php pages right now.

Cheer :cool: