[Webdev] php binary

Dave Burke dave at compsoc.com
Fri Sep 29 11:52:22 IST 2000


Morning,

I was trying to get php compiled as a binary yesterday and was having some
problems with it. Basically, the server I was trying this on already had
php (4.01pl2) compiled into apache, and the php engine is turned off for
all but a few directories.

I then compiled up the php binary (4.0.2) with the following....
./configure --enable-track-vars --enable-force-cgi-redirect
make
make install

And I added the following into the httpd.conf....
AddHandler cgi-script .phtml

But when I tried to execute my script, I'm getting a 500 error and php
core dumps when trying to run the script.I know the script works, as
I can run it from the command line without any problem.

I even tried adding an Action handler, but that didn't make any
difference.

Anyone ideas where I'm going wrong?

Cheers,
Dave







More information about the Webdev mailing list