PHP 4.0 Bug #7503: scripts run from CGI output "#!/usr/local/bin/php -q" line
| From: | colin at easydns dot com | Date: | Sat, 28 Oct 2000 05:52:59 +0000 |
| Subject: | PHP 4.0 Bug #7503: scripts run from CGI output "#!/usr/local/bin/php -q" line | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-36200@lists.php.net to get a copy of this message | ||
From: colin@easydns.com
Operating system: RH6.2
PHP version: 4.0.3pl1
PHP Bug Type: Performance problem
Bug description: scripts run from CGI output "#!/usr/local/bin/php -q" line
I run several PHP scripts from cron. Since updating to PHP 4.0.3pl1, these scripts (which did not,
and do not, output anything to STDOUT) have started to output the "hash-bang" line.
A sample email I receive:
--8<----------------------------
Return-Path: <root>
Received: (from root@localhost)
by xxx.easydns.com (8.11.0/8.11.0) id e9R3j4K17414
for root; Thu, 26 Oct 2000 23:45:04 -0400
Date: Thu, 26 Oct 2000 23:45:04 -0400
Message-Id: <200010270345.e9R3j4K17414@xxx.easydns.com>
From: root (Cron Daemon)
To: root
Subject: Cron <root@xxx> /usr/local/scripts/bin/daily_acc.phx
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/root>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=root>
#!/usr/local/bin/php -q
--8<----------------------------
I've triple checked for extraneous whitespace in the scripts, and found none. Even if there
were, that shouldn't be the problem.
Ideas?
- Colin
--
Edit Bug report at: http://bugs.php.net/?id=7503&edit=1