migration from php4 to php5

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
compufairy
Forum Members
Forum Members
Posts: 183
Joined: Sun Sep 07, 2008 10:47 am

migration from php4 to php5

Post by compufairy »

Hello all,

I have been searching the forum to find an answer to my question, but could not find it, so I decided to post it here.

I am running CMSMS, latest release (downloaded and installed okt 08), on a server with php4. Of course this causes some problems since a couple of modules don't work. F.e. I installed the album module, and my adminpanel turned to shambelodeee on the modules page. I am pretty sure this has to do with running php4.

My host told me he could move my account to another server that has php5.

I would like to know if I have to take certain steps before he migrates my data, or does CMSMS adapt automatically?

Kind regards from The Netherlands,

Anne-Mieke
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur..." (Red Adair)
Pierre M.

Re: migration from php4 to php5

Post by Pierre M. »

Hello,

backing up never hurts.
CMSms 1.4.1 core should run OK today on both PHP4 and PHP5. (often hosting providers provide both and you can chose with htaccess) But yes modules may be tricky.
To diagnose your problem and to know if they are PHP version related, monitor your http (access and error) logs.

Pierre M.
compufairy
Forum Members
Forum Members
Posts: 183
Joined: Sun Sep 07, 2008 10:47 am

Re: migration from php4 to php5

Post by compufairy »

Hi Pierre,

Thanks for your reply. I will back up anyway, I have learned that the hard way since crashing my first try of CMSMS in the beginning  ;)

Merci!

Anne-Mieke
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur..." (Red Adair)
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: migration from php4 to php5

Post by Nullig »

I have the Album module working on a couple of sites that use PHP4, so I don't think that is the problem. Perhaps you are short on memory. Try changing the php_memory_limit parameter in config.php to a higher value (32M or 64M).

Nullig
compufairy
Forum Members
Forum Members
Posts: 183
Joined: Sun Sep 07, 2008 10:47 am

Re: migration from php4 to php5

Post by compufairy »

Thanks Nullig!

Now I have a probably very silly question, but then again, I am not a php whizz:

Do I have to type the number (i.e. 32 or 64) like this '64' or do I leave the quotes out?

regards and thanks again,

Anne-Mieke
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur..." (Red Adair)
Dee
Power Poster
Power Poster
Posts: 1197
Joined: Sun Mar 19, 2006 8:46 pm

Re: migration from php4 to php5

Post by Dee »

compufairy wrote: Do I have to type the number (i.e. 32 or 64) like this '64' or do I leave the quotes out?
If you have access to php.ini this should be the format:

Code: Select all

memory_limit = 128M  ; Maximum amount of memory a script may consume
Regards,
D
Locked

Return to “[locked] Installation, Setup and Upgrade”