Can php4 be run from suexec?

From: Date: Tue, 15 Aug 2000 22:28:19 +0000
Subject: Can php4 be run from suexec?
Groups: php.dev 
Request: Send a blank email to php-dev+get-29072@lists.php.net to get a copy of this message
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@mankato.msus.edu

« previous php.dev (#29072) next »