[PHP-DEV] Can php4 be run from suexec? From: Jeffrey E. Hundstad (jeffrey.hundstad <email protected>)
Date: 08/15/00

Can php4 be run from suexec? I'd like to run my php files like:

http://host.com/~thisuser/myphp.cgi

I've used suexec before and like the interface. But when I try to run
the CGI version of php4 (and php3 for that matter) using this method I
always get a server error. I can execute the php scripts from the
command line JUST FINE.

An example script would be:
#!/usr/local/php/bin/php
<body><pre>
<? phpinfo() ?>

When I run this from the command line. I do get a phpinfo result. From
the server, an error. When I strace this the trace indicates that the
php program couldn't find the body of the script and segfaults.

--
jeffrey hundstad
jeffrey.hundstad <email protected>

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>