PHP 5.4 and upwards
Posted: Thu 13 Nov 2014 17:33
I'm inquiring as to whether you have any plans to update the version of PHP on the BCA server(s)? The current version is fine, as is 5.3, but 5.4 and upwards produce serious problems, esp for older Joomla based web sites. I've just had major problems with the peakspeedwell web site even when upgraded to use Joomla 1.5.26. (Fixed manually for the moment.) The problems are:-
1. PHP 5.4.n - E_STRICT standards are enforced by default and produce loads of error messages. You have to switch them off by manually insert a couple of commands in a couple of scripts. (Not too bad.)
2. PHP 5.5.n - mysql_ commands are depreciated and so produce loads of errors unless this reporting is switched off as well. Also the login scripts in Joomla 1.5.n use the preg_replace() function with the /e modifier which is disallowed in this PHP version, sigh. The mysql_ commands are going to be removed in a future version of PHP, not sure which though, but PHP 5.6 is out now!
This will effect the peak and northern cave monitoring web sites, also the DCA and the Darfar PC sites. Wayne Sheldon is also looking at migrating the peakspeedwell site to the BCA server next year too, which is also Joomla, though it might be to the latest version of Joomla. I should be doing that for him. I'll have to have a look around to see which version of Joomla is the earliest which doesn't suffer from these issues, though the peak site is a mambo site, so I'll have to check that too, sigh.
(There's no real need to upgrade PHP beyond 5.3 as long as all security updates have been applied.)
Thanx in advance.
Regards, Mel. DCA Webmeister.
1. PHP 5.4.n - E_STRICT standards are enforced by default and produce loads of error messages. You have to switch them off by manually insert a couple of commands in a couple of scripts. (Not too bad.)
2. PHP 5.5.n - mysql_ commands are depreciated and so produce loads of errors unless this reporting is switched off as well. Also the login scripts in Joomla 1.5.n use the preg_replace() function with the /e modifier which is disallowed in this PHP version, sigh. The mysql_ commands are going to be removed in a future version of PHP, not sure which though, but PHP 5.6 is out now!
This will effect the peak and northern cave monitoring web sites, also the DCA and the Darfar PC sites. Wayne Sheldon is also looking at migrating the peakspeedwell site to the BCA server next year too, which is also Joomla, though it might be to the latest version of Joomla. I should be doing that for him. I'll have to have a look around to see which version of Joomla is the earliest which doesn't suffer from these issues, though the peak site is a mambo site, so I'll have to check that too, sigh.
(There's no real need to upgrade PHP beyond 5.3 as long as all security updates have been applied.)
Thanx in advance.
Regards, Mel. DCA Webmeister.