Unable to start Apache by configuring php

I have done the following things to my installation.
Installation paths:
OS                 --  Windows XP
PHP4.x         --   c:/php4
Apache1.3.x--  c:/Apache

Added LoadModule to point to php4apache.dll
Added AddModule to mod_php4.c   // This line given error, and at the second time I have removed it.
Copied php4ts.dll to system32.  Also to system folders of SYSTEM root.
Copied php.ini to winnt.

NOTE: I have the copies of dll's in both PHP Home directory and  in sapi folder.

    But when I start Apache it is giving the errors
Syntax error in the line LoadModule php4 "c:/php4/php4apache.dll"
Can not load service named php4apache.dll

Please provide me a solution that fix my problem
ksrinivasarao1Asked:
Who is Participating?
 
sleep_furiouslyCommented:
Actually, I think it is supposed to be:

LoadModule php4_module "c:/php4/php4apache.dll"

0
 
ksrinivasarao1Author Commented:
Please provide a better solution.
0
 
m1tk4Commented:
It's

LoadModule "c:/php4/php4apache.dll"

instead of

LoadModule php4 "c:/php4/php4apache.dll"

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.