running php and apache on winmdows 2003 server

I installed apache in windows 2003 server.,
I tested it .
it was runing fine.
than i extracted php in c drive and in hpptd.cong
i added the following line
LoadModule php5_module "c:\php\php5apache2.dll"
AddType application/x-hyypd-php .php .htm

and now when i restart the apache it says

windows couldn not start the apache2.2 on local computer.

when i saw the event property it says
httpd.exe: syntax error on line 487 of
c:/program file(x86)/apache software foundation/apache2.2/conf/httpd.conf cannot load
c:/php/php5apache2.dll into server the specified module could not be formed.

any help will be appreciated
jatender
JATENDER1979Asked:
Who is Participating?
 
ostaehrConnect With a Mentor Commented:
I guess it's the Backslashes you used in httpd.conf. Use Frontslashes instead !!
LoadModule php5_module "c:/php/php5apache2.dll"

If this is not the solution, read on :)
PHP on Windows has some things you have to do manually.
Please read the instructions at http://www.php.net/manual/en/install.windows.manual.php carefully, it is important to copy the DLLs to the right places.
Did you copy or make available php5ts.dll as advised ?
You might also ewant to check http://www.php.net/manual/en/install.windows.apache2.php

Regards, Oliver
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.