Description of Problem: PHP (php-4.2.2-8.0.5) with Apache (httpd-2.0.40-8) fails when trying to use the getlastmod function, which produces the "Last Modified: Time/date" info. Version-Release number of selected component (if applicable): php-4.2.2-8.0.5 httpd-2.0.40-8 How Reproducible: Always Steps to Reproduce: 1. have apache and php installed on Redhat Linux 8.0 (Psyche) 2. make a php page with: echo "Last modified: " . date ("D F d Y h:i:s A", getlastmod()); 3. View page in a web browser. Actual Results: generated page displays "Last modified: " (with no time and date info.) Expected Results: generated page displays "Last modified: Thu October 03 2002 04:03:09 PM" Additional Information: A workaround is to do: echo "Last modified: " . date("D F d Y h:i:s A", filemtime($_SERVER["SCRIPT_FILENAME"]));
This is fixed in php-4.2.2-10 - thanks for the report.
An errata has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2003-017.html