I just installed the Apache 2.0.28 Beta, and I can get it to run if I comment out the line that loads the php module:
<code>
LoadModule php4_module "C:/Program Files/php/sapi/php4apache.dll"
</code>

I was wondering if anyone else has been successful at getting this to run.

Thanks!

    • [deleted]

    Last I heard was that apache 2.0 is not supported by PHP.

      php4apache.dll is compiled against the Apache 1.3 core. That's why it's Apache 2 is borking when you try to load an Apache 1.3 module into it (there have been some pretty significant changes made to the core). Go to www.php4win.com, in their latest dev builds of PHP you should find a SAPI named something like php4apache2.dll. That one should work.

      I had Apache 2 running php4win's SAPI for a bit about a month ago. The machine died unexpectedly (completely unrelated problem) and I just never got around to re-installing Apache 2. While I did have it running it seemed pretty stable for the most part thoughπŸ™‚

      -geoff

        I have problem with cgi-bin install of php on apache2, too.
        It makes a http 500 error!!!

          Sorry.... only installed it as a module so I can't give any suggestions there.

          -geoff

            Same problem here, I tried the php4win build (4.08 dev) and got an error that the sapi module was incompatibe? recompile πŸ™‚, with 4.06 + php4 just get the usual 'can not find specified module'

            I have tried all combinations including the php4win apache 2.0.16? + 4.08 dev

            still no joy.

            Anyone finds any answers I would be a very happy chappie πŸ™‚

              3 months later
              Write a Reply...