Date: 04/05/99
- Next message: chu_zhurong <email protected>: "[PHP-DEV] Bug #1290: can't display integer >=100 correctly"
- Previous message: Bug Database: "[PHP-DEV] Bug #1287 Updated: file functions and HTTP/FTP"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: srparish <email protected>
Operating system: linux--Redhat 5.2
PHP version: 3.0.7
PHP Bug Type: Misbehaving function
Bug description: system, exec, and passtru always returns -1
When ServerName in httpd.conf is set differently then the actual host's name, the return values of anything called with system, exec, and passthru (except for running the "/bin/date") is always -1. For instance, we have a machine named phony.wwc.edu, but in apache we set the ServerName to hotnest.wwc.edu. Suddenly doing something like system("echo blah",$errno); print $errno; prints -1 instead of 0. This is completely unrelated to safe mode, btw. (which was our first suspect)
-- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe <email protected> For help: php-dev-help <email protected>
- Next message: chu_zhurong <email protected>: "[PHP-DEV] Bug #1290: can't display integer >=100 correctly"
- Previous message: Bug Database: "[PHP-DEV] Bug #1287 Updated: file functions and HTTP/FTP"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

