|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-07-22 16:57 UTC] andy@php.net
[2001-07-22 19:04 UTC] joey@php.net
[2002-06-16 08:29 UTC] sander@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 00:00:01 2025 UTC |
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)