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, Windows

Apr 30, 2008 11:10AM 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!

Discussion is locked

- Collapse -
Answered in the web design forum.
May 1, 2008 6:01PM PDT
- Collapse -
phpapache
May 8, 2008 4:27AM PDT

Psh, just uninstall that and keep any webfiles you may still have.
Google "wamp" which stands for windows, apache, MySql, and php. Thatll be much easier to setup and use as well as it comes with PhpMyadmin.

- Collapse -
PHP installation.
Jun 10, 2008 2:45PM PDT

Leave it. Download and install Easy PHP from www.easyphp.org. Your problem will be solved within seconds.

- Collapse -
As easy, free as it can get. Link, comment.
Jun 10, 2008 10:02PM PDT