|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-01-15 18:04 UTC] sniper@php.net
[2001-03-09 21:09 UTC] sniper@php.net
[2001-05-07 12:47 UTC] derick@php.net
[2001-05-07 20:01 UTC] zeev@php.net
[2001-05-08 06:25 UTC] mikhail at whasup dot com
[2001-12-22 06:57 UTC] lobbin@php.net
[2001-12-23 17:04 UTC] mikhail at whasup dot com
[2001-12-24 17:39 UTC] mikhail at whasup dot com
[2002-02-13 13:45 UTC] david at djwhome dot demon dot co dot uk
[2002-02-13 19:19 UTC] mikhail at whasup dot com
[2002-08-13 22:39 UTC] kalowsky@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 17:00:01 2025 UTC |
[this is a re-sent of my message, I accidentally inserted php config options in the wrong place of my previous message] Apache: 1.3.14 (with mod_php4 among other) test.phtml: <? putenv("one=one"); $one=getenv("one"); exec("echo two", $two, $ret); print("1: $one<br>"); print("2: $two[0] ($ret)<br>"); ?> Browser shows: 1: one 2: two (0) After hitting Reload, browser shows: 1: one 2: two (0) After hitting Reload again, browser shows: 1: one Warning: Undefined index: 0 in /u/local/apache/htdocs/test.phtml on line 6 2: (1) After "apachectl restart" the above repeats... Config options: configure --with-gd=/usr/local/gd --with-mysql --with-jpeg-dir=/tmp/jpeg-6b --with-apache=../apache_1.3.14