SCS Apache2 collection Updated
Computing Facilities recently released an updated version of our Apache 2 collection, which includes an upgrade of PHP from version 5.2 to 5.3. The following explains some potential changes to the logging level thresholds which may generate excessive warning messages under the new version of PHP:
- PHP 5.3 introduces a new logging level: E_DEPRECATED. This will generate error messages in the output of your PHP code (inserting it directly into your resulting webpages) when using functions (or certain invocations of functions) that are being phased out from the PHP language spec, unless it is disabled by making the following change to your php.ini file:
- error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED
- One of the more notable triggers for these types of error messages is the use of the date() function without having the timezone set in your php.ini. Either call the date_default_timezone_set() function within your script, or set the following in your php.ini:
- date.timezone = America/New_York;
Please contact help@cs.cmu.edu or call the SCS Help Desk (x8-4231) if you have questions or problems with this new release.
Thank you for your attention,
SCS Help Desk

