Hi,
I am having a lot of problems with any PHP routines that have to access the filesystem - things like exec(), shell_exec(), system(), backticked shell commands, copy(), move_uploaded_file() and so on.
I have a non-standard setup with CLI, CGI and mod_php all installed. These scripts are using the cgi php executable and the webserver is running suexec. I have confirmed that it isn't permissions issues both by running identical commands to those in the scripts from the uid in use by the suexec'd apache virtual host, and by blowing open permissions to 777 temporarily. No difference. Example code from the manual also fails.
Before I post a specific example to see if anyone can spot a problem in my code, does anyone know whether there's a fundamental problem with my server setup?
TIA.
PWR.
FreeBSD 4.9-STABLE
#/usr/local/bin/php -v PHP 4.3.4 (cgi) (built: Feb 28 2004 13:43:25) Copyright (c) 1997-2003 The PHP Group Zend Engine v1.3.0, Copyright (c) 1998-2003 Zend Technologies
#tail /var/log/httpd-error.log
[Wed May 19 10:34:43 2004] [notice] Apache/1.3.29 (Unix) mod_perl/1.28 PHP/4.3.4 mod_ssl/2.8.16 OpenSSL/0.9.7c configured -- resuming normal operations
[Wed May 19 10:34:43 2004] [notice] suEXEC mechanism enabled (wrapper: /usr/local/sbin/suexec)
[Wed May 19 10:34:43 2004] [notice] Accept mutex: flock (Default: flock)
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php