Hi all,
I am trying to get back to a working environment!
I've got Apache 2.2.11 and PHP 5.1.4
I used the installers for both.
but PHP is not working.
http://localhost/ says "It's working"
but http://localhost/hello.php says 404 page not found.
hello.php is my phpinfo() page, it sits here: C:\Program Files\Apache Group\Apache2.2\htdocs\
There is another file: C:\Program Files\Apache Group\Apache2.2\hello.php, which if I put in the address, it first just shows me the source of the file. F5 makes it processes the html but the php code is ignored.
My PHP install is in c:\php, and I've added that dir to my path.
I've added these lines to the end of httpd.conf:
LoadModule php5_module "C:/PHP/php5apache2.dll"
PHPIniDir "C:/PHP"
Please help?
thanks,
Kimberly
PHP5 not working with Apache2.2
Moderator: General Moderators
-
wyrdaebrithil
- Forum Newbie
- Posts: 2
- Joined: Sun Jun 07, 2009 3:59 pm
Re: PHP5 not working with Apache2.2
use php5apache2_2.dll not php5apache2.dll
the _ is just like a dot, you arent loading it for the correct version of apache
the _ is just like a dot, you arent loading it for the correct version of apache