php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #23112 exec() not allowed for directories outside /cgi-bin
Submitted: 2003-04-08 07:17 UTC Modified: 2003-04-14 09:14 UTC
From: jlg at huelladigital dot net Assigned:
Status: Not a bug Package: CGI/CLI related
PHP Version: 4.3.2RC1 OS: Linux 2.4.18
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: jlg at huelladigital dot net
New email:
PHP Version: OS:

 

 [2003-04-08 07:17 UTC] 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-04-14 09:14 UTC] rasmus@php.net
This has nothing to do with PHP
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 01:01:30 2024 UTC