Apache 2.2.3 and PHP 5.2.1

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
Cerberius
Forum Newbie
Posts: 3
Joined: Fri Mar 02, 2007 2:06 pm

Apache 2.2.3 and PHP 5.2.1

Post 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
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Post 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.
(#10850)
Cerberius
Forum Newbie
Posts: 3
Joined: Fri Mar 02, 2007 2:06 pm

Post 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
Post Reply