Page 1 of 1

Apache 2.2.3 and PHP 5.2.1

Posted: Fri Mar 02, 2007 2:26 pm
by Cerberius
Hi

I installed Apache 2.2.3 in Windows Vista Home Premium, and downloaded the php 5.2.1.

Added to httpd.conf:

LoadModule php5_module "C:/php5/php5apache2_2.dll"
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
PHPIniDir "C:/php5"

apache is working fine, when i go to htp://localhost, it's show "Its Works".

But when i try to load a php file it shows "not found"

Please what i'm doing wrong???

Regards
Juan Leung

Posted: Fri Mar 02, 2007 2:38 pm
by Christopher
Have you created a php.ini file? I not then copy "C:/php5/php.ini-recommended" to "C:/php5/php.ini" and edit it so any paths go to the right place.

Posted: Fri Mar 02, 2007 4:22 pm
by Cerberius
Yeap, i rename de php.ini file, in C:/php5, but i don't edit it. I have PHP5 and Apache in a Windows XP PC and is working, but in Windows Vista don't