#32605 [NEW]: ini_set('last_modified', 1) doesn't work

From: Date: Wed, 06 Apr 2005 10:49:39 +0000
Subject: #32605 [NEW]: ini_set('last_modified', 1) doesn't work
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-76432@lists.php.net to get a copy of this message
From: s dot tabacchiera at gruppocsf dot com Operating system: RedHat Linux 8.0 PHP version: 4.3.11 PHP Bug Type: *General Issues Bug description: ini_set('last_modified', 1) doesn't work Description: ------------ Hi, as stated in the summary the directive ini_set('last_modified', 1) in my scripts doesn't work. In facts, I don't see any Last-Modified header in the Apache response. Any clue? Reproduce code: --------------- foo.php: <? ini_set("last_modified", 1); echo "Hello world!\n"; ?> # wget -S http://localhost/foo.php Resolving localhost... 127.0.0.1 Connecting to localhost[127.0.0.1]:80... connected. HTTP request sent, waiting for response... 1 HTTP/1.1 200 OK 2 Date: Wed, 06 Apr 2005 10:28:34 GMT 3 Server: Apache/1.3.33 (Unix) mod_ssl/2.8.22 OpenSSL/0.9.6b PHP/4.3.11 mod_auth_pgsql/0.9.12 4 X-Powered-By: PHP/4.3.11 5 Set-Cookie: ZDEDebuggerPresent=php,phtml,php3 6 Connection: close 7 Content-Type: text/html Expected result: ---------------- ... . Last-Modified: ...blablabla... ... Actual result: -------------- no 'Last-Modified' header -- Edit bug report at http://bugs.php.net/?id=32605&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=32605&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=32605&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=32605&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=32605&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=32605&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=32605&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=32605&r=needscript Try newer version: http://bugs.php.net/fix.php?id=32605&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=32605&r=support Expected behavior: http://bugs.php.net/fix.php?id=32605&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=32605&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=32605&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=32605&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=32605&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=32605&r=dst IIS Stability: http://bugs.php.net/fix.php?id=32605&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=32605&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=32605&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=32605&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=32605&r=mysqlcfg

« previous php.bugs (#76432) next »