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
migration from php4 to php5
-
- Forum Members
- Posts: 183
- Joined: Sun Sep 07, 2008 10:47 am
migration from php4 to php5
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur..." (Red Adair)
Re: migration from php4 to php5
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.
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.
-
- Forum Members
- Posts: 183
- Joined: Sun Sep 07, 2008 10:47 am
Re: migration from php4 to php5
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
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)
Re: migration from php4 to php5
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
Nullig
-
- Forum Members
- Posts: 183
- Joined: Sun Sep 07, 2008 10:47 am
Re: migration from php4 to php5
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
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)
Re: migration from php4 to php5
If you have access to php.ini this should be the format:compufairy wrote: Do I have to type the number (i.e. 32 or 64) like this '64' or do I leave the quotes out?
Code: Select all
memory_limit = 128M ; Maximum amount of memory a script may consume
D