suexec / php
| From: | RAGE | Date: | Sat, 11 Mar 2000 23:46:26 +0000 |
| Subject: | suexec / php | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-16687@lists.php.net to get a copy of this message | ||
I've tried lots of ways to get a cgi install of php working with
apache..and cant seem to get it working ...
here is my last attempt
I compile php with
./configure --prefix=/usr/local/php --enable-track-vars
--enable-force-cgi-redirect --with-gd=../gd1.4
--with-mysql=/usr/local/mysql
and I link that to /usr/bin/php .. i just rename my script to .cgi and
chmod 755 it .. put #!/usr/bin/php on top.. i think it should work under
suexec .. but it doesnt
I tried other ways where I added AddType and Action entries into apache
with a new file type .pgi .. but I couldnt get it working
I just get lots of Error 500's.. before, I dont know how, but I had it
partially working, the php binary ran and ouptted "no input files
specified" or something like that
anyway, i'm probably doing something wrong
so can somebody just tell me what to add to apache and what ./configure
options to compile php with to get it working with apache
p.s. I want .pgi under cgi install to work with suexec and .php .php3 are
already working fine under module install ....
thanks in advance