Page 1 of 1

problem configuring php..

Posted: Sat Dec 06, 2008 3:48 pm
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

Re: problem configuring php..

Posted: Sat Dec 06, 2008 4:06 pm
by VladSun

Code: Select all

LoadModule php5_module "c:/php/php5apache2_2.dll"

Re: problem configuring php..

Posted: Sat Dec 06, 2008 4:36 pm
by popey
thnks it done