problem configuring php..

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
popey
Forum Newbie
Posts: 6
Joined: Sat Dec 06, 2008 2:44 pm

problem configuring php..

Post by popey »

hello

i am trying to configure php5.2.7 with apache2.2 on windows....both individually are working correct.....on opening http://localhost i got "It Works!" before making any change in httpd.conf file.....i can also see php version on issuing the php -version command on cmd......but when i make following entry in httpd.conf file i got error "C:\Program Files\Apache Software Foundation\Apache2.2\conf\httpd.conf can not load c:\php\php5apache2.dll into server.specified module can't be found".

i made following entries
LoadModule php5_module "c:\php\php5apache2.dll"
AddType application/x-httpd-php .php

i tried to add these entries in many positions in file but none worked......i unzip the php pkg in c:\php ....please help
User avatar
VladSun
DevNet Master
Posts: 4313
Joined: Wed Jun 27, 2007 9:44 am
Location: Sofia, Bulgaria

Re: problem configuring php..

Post by VladSun »

Code: Select all

LoadModule php5_module "c:/php/php5apache2_2.dll"
There are 10 types of people in this world, those who understand binary and those who don't
popey
Forum Newbie
Posts: 6
Joined: Sat Dec 06, 2008 2:44 pm

Re: problem configuring php..

Post by popey »

thnks it done
Post Reply