517 Posts in 279 Topics by 221 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 586 Views |
-
Upgrade PHP to 5.3, will older versions of SS work?

8 August 2012 at 10:28pm
Hi there guys,
I'm about to build a new site, my first in SSv3. On uploading the software to my server I got a message that I needed a newer version of PHP to run it.
My hosting support are happy to upgrade for me but they said that the upgrade is not reversible and to check that the upgrade will not affect other sites. (Cue sudden fear into heart!)
The only other sites that could potentially be affected are SS sites - I have sites running on various older versions of SS, which I am planning to upgrade over the coming months, now that V3 is out, but the last thing I need is for every site to go down in one go!!!
The versions that are running at the moment are:
2.3.1
2.3.3
2.3.5
2.4.5
2.4.6
2.4.7My server is currently running PHP 5.2.17
Are there any upgrades from there to 5.3.4 that are likely (you can't guarantee this, i know!) to bring any of the above sites tumbling down?!
Thanks,
L x
-
Re: Upgrade PHP to 5.3, will older versions of SS work?

10 August 2012 at 6:54am
Hi again, any help with this would be really appreciated, thanks!
-
Re: Upgrade PHP to 5.3, will older versions of SS work?

10 August 2012 at 7:07pm
I'd recommend downloading the sites locally and double checking on your machine (setup with the php version of your server) if the operation is non reversible just to be safe!
SS2.3 came out after 5.3 did so likely a lot of testing being done from people using both.
-
Re: Upgrade PHP to 5.3, will older versions of SS work?

10 August 2012 at 11:52pm
Cheers Will. I will see if I can get it set up and running locally, but good to know it was developed after 5.3 was released. L
-
Re: Upgrade PHP to 5.3, will older versions of SS work?

21 August 2012 at 7:26am Last edited: 21 August 2012 7:27am
Hi there,
I've tested half of my sites now. So far the sites in the "newer" versions of SS are working fine, but some of the older ones (2.3.1, 2.3.3) are giving me this error:
Deprecated: Function ereg_replace() is deprecated in /var/www/vhosts/mysitenamehere.co.uk/httpdocs/sapphire/core/ManifestBuilder.php on line 257
and also
Warning: file_exists(): open_basedir restriction in effect. File(/var/www/vhosts/mysitenamehere.co.uk/httpdocs/.htaccess/_config.php) is not within the allowed path(s): (/var/www/vhosts/mysitenamehere/httpdocs:/tmp) in /var/www/vhosts/mysitenamehere/httpdocs/sapphire/core/i18n.php on line 1106
I read a few posts that said just to suppress the error messages by adding this line
into "main.php""ini_set("display_errors", 0);"
Is this going to be OK? Everything seems to be working, but its making me a little nervous!
Thanks
-
Re: Upgrade PHP to 5.3, will older versions of SS work?

24 August 2012 at 10:05pm
deprecated error is sweet, open_basedir is a little bit more of an issue. Do a quick browse for posts of that (http://open.silverstripe.org/changeset/115314)
| 586 Views | ||
|
Page:
1
|
Go to Top |


