Bug #8725 Updated: Fun with putenv

From: Date: Sat, 22 Dec 2001 11:57:31 +0000
Subject: Bug #8725 Updated: Fun with putenv
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-74783@lists.php.net to get a copy of this message
ID: 8725 Updated by: lobbin Reported By: mikhail@whasup.com Old Status: Open Status: Feedback Bug Type: Program Execution Operating System: SCO Openserver 5.05 PHP Version: 4.0.4pl1 New Comment: Does this still happen with 4.1.0? R. Previous Comments: ------------------------------------------------------------------------ [2001-05-08 06:25:56] mikhail@whasup.com Unfortunately, my SCO Unix machine isn't available for access from outside. ------------------------------------------------------------------------ [2001-05-07 20:01:38] zeev@php.net This apperas to be SCO specific so it's not very fixable. Remarking as 'Open'. mikhail@whasup.com, will it be possible to have a temporary account on your machine to debug this? Or does anybody else have access to this platform? ------------------------------------------------------------------------ [2001-05-07 12:47:14] derick@php.net Marking as "fix-before-4.0.6" ------------------------------------------------------------------------ [2001-03-09 21:09:23] sniper@php.net User feedback: -------------- The latest snapshot made no difference. The behavior I describe persists. It's always the third execution of the script (second page reload) that produces the failure. By the way, at that point not only "exec" stops working, but "system" and "passthru" as well. It appears that "putenv" is the cause, since removing it from the script remedies the problem (after apache restart there is). It's quite possible that the problem is unique to my environment: SCO Opendesktop 5.05 Apache/1.3.14 with mod_php4 but that doesn't make the situation any easier. Couple of more points: -- the same script works fine when executed on the shell level -- every time phtml script fails, the following message is left in access_log: ": is not an identifier". If this matter is of any interest to the developers, I'll be more than happy to investigate (with proper guidance :-)) further. Thanks. -mk ------------------------------------------------------------------------ [2001-01-15 18:04:25] sniper@php.net I tried your script in my system (Linux) and with the latest CVS of PHP 4 and it works just fine. Could you try the latest snapshot from http://snaps.php.net/ to verify if this is fixed or if it is your system that causes this. --Jani ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/?id=8725 Edit this bug report at http://bugs.php.net/?id=8725&edit=1

« previous php.dev (#74783) next »