Problems expected after Host upgrades tot PHP5 ??

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
mev
Power Poster
Power Poster
Posts: 371
Joined: Wed Apr 25, 2007 5:00 pm

Problems expected after Host upgrades tot PHP5 ??

Post by mev »

My hosting provider announces to stop support for PHP4 and will upgrade to PHP5.
The latest install here is CMS-MS version 1.2. with several modules (bigger ones, like Album, Formbuilder etc) and is already using php5, so no probs.

But I have also several older sites for clients running with this host, with earlier versions of CMS-MS (version 1.0.6 "Niihau"
and 1.1 "Samoa"). They were installed with php4, I guess.
The system of this host is Linux blade25, Apache, mysql 5.0.32

Can I expect many problems after the migration to php5 for these older sites ???

Also, since the PHP-memory limit is a bit low at this server (16M), I am thinking about advising new clients to choose for another host too.

Thnak you very much

Willemijn
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: Problems expected after Host upgrades tot PHP5 ??

Post by Ted »

I've been developing CMSMS on php5 for over a year now, so you shouldn't see any issues.  Of course, I say shouldn't lightly.  :)

And in theory, with several modules and several hundred pages, 16 megs should still be enough.
User avatar
kermit
Power Poster
Power Poster
Posts: 693
Joined: Thu Jan 26, 2006 11:46 am

Re: Problems expected after Host upgrades tot PHP5 ??

Post by kermit »

the biggest potential headache i can see is if the host changes HOW php runs... module vs cgi or suexec; changing the user that php runs as will likely require some changes to file permissions. for instance, going from php running as the webserver, you normally use 777 (or 666) so that both you and php can read & write files; but if php runs as your user, you have to use 755 (or 644) instead.

if your host has BOTH available *now* -- you might want to consider migrating sites ahead of time, on YOUR schedule.. even if it does require fixing some permissions as you go from php as a module to php/cgi or something. at least you know things work and you won't have to scramble when the host does force php5 on you.
eternity (n); 1. infinite time, 2. a seemingly long or endless time, 3. the length of time it takes a frozen pizza to cook when you're starving.
4,930,000,000 (n); 1. a very large number, 2. the approximate world population in 1986 when Microsoft Corp issued its IPO. 3. Microsoft's net profit (USD) for the quarter (3 months) ending 31 March 2007.
CMSMS migration and setup services | Hosting with CMSMS installed and ready to go | PM me for Info
mev
Power Poster
Power Poster
Posts: 371
Joined: Wed Apr 25, 2007 5:00 pm

Re: Problems expected after Host upgrades tot PHP5 ??

Post by mev »

Thanks Ted! I trust not too many probs will occur then!

Maybe  'memory limit of 16 is enough', is just theory? I don't know where the errors about memory limits come from then... I always get them when trying to install extra modules from Module-manager, especially the bigger ones, like TinyMCE-Adv:

Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 1228801 bytes) in /storage/mijndomein/../cmsmadesimple/modules/nuSOAP/classes/nusoap.php on line 6214

Willemijn
mev
Power Poster
Power Poster
Posts: 371
Joined: Wed Apr 25, 2007 5:00 pm

Re: Problems expected after Host upgrades tot PHP5 ??

Post by mev »

kermit wrote: if your host has BOTH available *now* -- you might want to consider migrating sites ahead of time, on YOUR schedule.. even if it does require fixing some permissions as you go from php as a module to php/cgi or something. at least you know things work and you won't have to scramble when the host does force php5 on you.
Thanks Kermit, I'll get back to my host
There is a possibility to test in advance.

Willemijn
Post Reply

Return to “CMSMS Core”