#23112 [Opn->Bgs]: exec() not allowed for directories outside /cgi-bin

From: Date: Mon, 14 Apr 2003 14:14:15 +0000
Subject: #23112 [Opn->Bgs]: exec() not allowed for directories outside /cgi-bin
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-37646@lists.php.net to get a copy of this message
ID: 23112 Updated by: rasmus@php.net Reported By: jlg at huelladigital dot net -Status: Open +Status: Bogus Bug Type: CGI related Operating System: Linux 2.4.18 PHP Version: 4.3.2RC1 New Comment: This has nothing to do with PHP Previous Comments: ------------------------------------------------------------------------ [2003-04-08 07:17:35] jlg at huelladigital dot net I am running php cgi in /usr/local/bin and my scripts are in /cgi-bin. Combining #!/usr/local/bin/php, chmod's and apache directives AllowExecCGI this works fine; but when I try to exec() a program anywhere outside /cgi-bin it does nothing. Is it a matter of PHP or Apache? ./configure --with-mysql --enable-ftp --enable-sockets --with-ncurses ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=23112&edit=1

« previous php.bugs (#37646) next »