Agrestis Posted August 29, 2010 Share Posted August 29, 2010 Since the upgrades, a few of my PHP scripts no longer work as expected. I have the following lines in my htaccess file >php_value date.timezone Europe/London php_value include_path .:/usr/lib/php:/usr/local/lib/php:/home/***/php (there are other php_value statements and they have all been enclosed in <IfModule php_config> by the upgrade) In the past this enabled me to use PHP functions like strtotime() and PEAR packages in my scripts. But since the upgrade I am getting these errors: Warning: require_once(Numbers/Roman.php) [function.require-once]: failed to open stream: No such file or directory in ****.php on line 123 Strict Standards: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EDT/-4.0/DST' instead in ****.php on line 123 Other php_value lines are still working as expected yet these two seem to have stopped working as expected. The Numbers/Roman pear package is definitely still installed and other pear packages in other scripts in directories without this htaccess file stile work, so I am assuming it is some problem with either the include_path or the timezone or both in this htaccess. Quote Link to comment Share on other sites More sharing options...
TCH-Bruce Posted August 29, 2010 Share Posted August 29, 2010 Please open a ticket with the Help Desk and the techs will help you get them working again. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.