I have the php manual and in there it says u should add the following 2 line to the apache conf file if u want to use php as a module

LoadModule php4_module c:/php/sapi/php4apache.dll

AddModule mod_php4.c

,but as soon as I do the apache server won't start.What am I doing wrong?

Yes this is apache 2.0.4.3.I've tried the suggestion with outting the part in the lne but still get "requested operation failed".I did however notice that I don't have this "mod_php4.c" file is there a place where i can download this from??

    Are you using Apache 2 ?

      The reason apache is failing to start is almost certainly that it is unable to find the ".dll".

      Assuming that you are running on win32 platform with Apache 1.3.xx the lines you need are -

      Where "c:/php/" is your install path for PHP

      LoadModule php4_module c:/php/sapi/php4apache.dll
      AddModule mod_php4.c
      AddType application/x-httpd-php .php

      Hope this helps 😉

        Write a Reply...