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
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
Anyone ideas where I'm going wrong?
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!