
PHP 5.3?
#21
Posted 10 February 2011 - 03:23 AM
the 5.2.16 version of PHP 'breaks' scripts using certain deprecated functions like ereg and eregi.
Does this mean that if I have a script with "ereg" in it that it won't work anymore?
#22
Posted 10 February 2011 - 08:12 PM
Does this mean that if I have a script with "ereg" in it that it won't work anymore?
Yes, it gives an error message and does not perform the comparison. Google "ereg deprecated" for some more information on it.
The error message looks something like "Deprecated: Assigning the return value of XXXXXX by reference is deprecated in /home/users/domain.com/any-php-file.php on line 204"
The solution is to replace every instance of ereg or eregi with the appropriate preg routine (and there is not pregi, so it gets a bit complex).
#23
Posted 13 March 2011 - 11:50 PM
#24
Posted 14 March 2011 - 07:25 PM
We're still evaluating the various methods of implementing this option in our development environment. I can't give an ETA because I can't tell you how fast the testing will go. With any luck it shouldn't be more than a week but that's just a guess at this point.I don't mean to pester-y but I would like to know if MDDHosting has any time frame of if/when they will allow clients to choose a PHP 5.3 option. Thanks for any help!
█ Scalable shared hosting plans in the cloud! Check them out!
█ Highly Available Cloud Shared, Reseller, and VPS
█ http://www.mddhosting.com/
#25
Posted 14 March 2011 - 07:34 PM
Yes, it gives an error message and does not perform the comparison. Google "ereg deprecated" for some more information on it.
The error message looks something like "Deprecated: Assigning the return value of XXXXXX by reference is deprecated in /home/users/domain.com/any-php-file.php on line 204"
The solution is to replace every instance of ereg or eregi with the appropriate preg routine (and there is not pregi, so it gets a bit complex).
It is unbelievably annoying that they would do this. My extensively tweaked messageboard uses ereg all over the place, some of it quite complex

#26
Posted 09 April 2011 - 06:18 AM
Anybody wanting the nitty gritty details can look at http://www.litespeed...read.php?t=4894
█ Scalable shared hosting plans in the cloud! Check them out!
█ Highly Available Cloud Shared, Reseller, and VPS
█ http://www.mddhosting.com/
#27
Posted 09 April 2011 - 11:11 AM
█ Scalable shared hosting plans in the cloud! Check them out!
█ Highly Available Cloud Shared, Reseller, and VPS
█ http://www.mddhosting.com/
#28
Posted 09 April 2011 - 12:12 PM
#29
Posted 09 April 2011 - 12:20 PM
█ Scalable shared hosting plans in the cloud! Check them out!
█ Highly Available Cloud Shared, Reseller, and VPS
█ http://www.mddhosting.com/
#30
Posted 09 April 2011 - 12:22 PM
#31
Posted 09 April 2011 - 12:23 PM
Just documenting the installation steps so that it can be automated and then it will be fully rolled out. I expect no longer than 2 hours. Once this is done I will make a KB article on how to choose 5.3.*Like*
█ Scalable shared hosting plans in the cloud! Check them out!
█ Highly Available Cloud Shared, Reseller, and VPS
█ http://www.mddhosting.com/
#32
Posted 09 April 2011 - 12:23 PM
No, it defaults to 5.2 and you can optionally choose 5.3.
Alright, thanks for clarifying

#33
Posted 09 April 2011 - 01:09 PM
█ Scalable shared hosting plans in the cloud! Check them out!
█ Highly Available Cloud Shared, Reseller, and VPS
█ http://www.mddhosting.com/
#34
Posted 09 April 2011 - 02:12 PM
█ Scalable shared hosting plans in the cloud! Check them out!
█ Highly Available Cloud Shared, Reseller, and VPS
█ http://www.mddhosting.com/
#35
Posted 09 April 2011 - 11:47 PM
#36
Posted 09 April 2011 - 11:56 PM
Essentially, yes... PHP 5.3 is faster and more efficient so you may check to see if your scripts are compatible. you could also try the "shotgun" method of simply changing to 5.3 and seeing if anything quits working as it's easy to switch back and forth.I guess this means for me that "if it isn't broken, don't fix it", my sites are running stable so no need for 5.3, right?
█ Scalable shared hosting plans in the cloud! Check them out!
█ Highly Available Cloud Shared, Reseller, and VPS
█ http://www.mddhosting.com/
#37
Posted 14 April 2011 - 08:34 PM
Essentially, yes... PHP 5.3 is faster and more efficient so you may check to see if your scripts are compatible. you could also try the "shotgun" method of simply changing to 5.3 and seeing if anything quits working as it's easy to switch back and forth.
Everything seems to have gone smooth on my account with this.
To Jarkko, many of the advantages of the PHP 5.3 are in the coding backend with some new shortcuts, defining constants anywhere, namespaces, etc.. But there are also hosting advantages with better INI support which can now be user or directory specific. I think some of the syntax and setup has changed from how it was handled. I've skimmed over some details but I'm sure Mike knows about these things or is learning with the rest of us.
#38
Posted 16 April 2011 - 11:10 PM
Edited by Jarkko, 16 April 2011 - 11:10 PM.
#39
Posted 16 April 2011 - 11:23 PM
Open a ticket, it's not something I can help you with via the forum very easily.Thank for the info Mike and Snakeyez. I switched one of the sites to 5.3 via .htaccess but cpanel still shows that it is running PHP 5.2.14..
█ Scalable shared hosting plans in the cloud! Check them out!
█ Highly Available Cloud Shared, Reseller, and VPS
█ http://www.mddhosting.com/
#40
Posted 17 April 2011 - 12:30 AM
Got your ticket and issue fixedOpen a ticket, it's not something I can help you with via the forum very easily.

█ Scalable shared hosting plans in the cloud! Check them out!
█ Highly Available Cloud Shared, Reseller, and VPS
█ http://www.mddhosting.com/
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users