Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years.

Thanks,

CNET Support

General discussion

Apache 2.2.8, PHP 5.2.5, on Windows

Apr 30, 2008 11:09AM PDT

OK I successfully installed Apache 2.2.8 on my Windows Vista machine to C:/Apache wishing to use localhost for my setup. (I'm the only one using this server for now)
I installed PHP 5.2.5 using the installer to C:/php
In the Apache Service Monitor, at the bottom it shows both Apache and PHP as being installed, but when I try to test simple php scripts, (for example, I created a link in the index.html to a test.php page containing the code:
<?php
echo "Hello World";
?&gtWink
It doesn't work! I checked in the httpd.conf at the bottom and it does have this:
#BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
PHPIniDir "C:/php/"
LoadModule php5_module "C:/php/php5apache2_2.dll"
#END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL

I've restarted my computer and whatnot already. Any help would be greatly appreciated. Thanks so much.

Discussion is locked

- Collapse -
Found this
May 1, 2008 3:34AM PDT
- Collapse -
Perfect.
May 1, 2008 9:13AM PDT

Both those links are of great help. Thank you so much!