Page 1 of 1

Upgrade PHP from 5.1.6 to 5.2.x

PostPosted: Mon Oct 29, 2012 3:16 am
by iainpg

I would like to upgrade Vtiger from 5.1.0 to version 5.4 , I also require PHP upgrading to at least 5.2.x in order to run the Vtiger Migration Wizard, does anybody have any knowledge or experience of this, I could really use some pointers


GoAutodial 2.1 from .iso
Single Server on premise
No Digium/Sangoma Hardware
No Extra Software After Installation
Intel(R) Xeon(R) CPU E5649 @ 2.53GHz

Re: Upgrade PHP from 5.1.6 to 5.2.x

PostPosted: Mon Oct 29, 2012 12:54 pm
by gardo
We have documentation on how to upgrade to PHP 5.3 from PHP 5.1.X. You can check the HOWTOS on our wiki: http://goautodial.org/projects/goautodialce/wiki/HowTos. It's on the "Misc" section. :)

Re: Upgrade PHP from 5.1.6 to 5.2.x

PostPosted: Mon Oct 29, 2012 1:32 pm
by iainpg
thanks for this although upon closer instpection it looks like a SQL re-install also - do i need to backup / restore the database?

what risks are involved with this process and will it affect any other components or modules?

Re: Upgrade PHP from 5.1.6 to 5.2.x

PostPosted: Mon Oct 29, 2012 1:35 pm
by williamconley
Neither of these items is related to GoAutoDial or Vicidial. Your need to upgrade PHP is actually not very difficult, but be sure you have a good backup before you begin. Also of note: there will be breakage of integration from the upgrade (Vicidial is not configured to integrate past 5.1).

I'd actually advise that you put a new machine in and upgrade OFF the vicidial system (no risk to the vicidial system this way ...).

If you have a Virtual system (VMWare, VirtualBox, vSphere ...) available: A trick we've used a few times is to clone the running vicidial system into a "Virtual" machine and then upgrade inside that. the ability to "snapshot" at any point in the process (to easily Go Back) is brilliant for figuring out how to perform a task like this. You can screw it up a dozen times and just push that reset button. After you are done you can then restore that system onto a whole new box or apply your knowledge to the live box (since you've already tested it ...).

Also of note: If this is an educational moment, you will make note of the fact that having your Vicidial system and your CRM system on the same box presents a bit of a challenge. Separate them now and you won't have this issue in the future. vTiger will run on almost ANY hardware quite well ...

Re: Upgrade PHP from 5.1.6 to 5.2.x

PostPosted: Wed Oct 31, 2012 3:35 am
by gardo
A backup is higly recommend. The upgrade doesn't really touch the MySQL data. It just uninstall the older MySQL RPMs then reinstall the newer ones to avoid conflicts.

We have been using Vicidial with PHP 5.2 for a few years now and a few months with PHP 5.3. Never encountered any issues. Performance boost was actually evident specially with the PHP eAccelerator.

Re: Upgrade PHP from 5.1.6 to 5.2.x

PostPosted: Mon Nov 12, 2012 4:32 pm
by williamconley
but do be careful of the eAccelerator. Required for web server (without it the capacity is reduced about 80%). But it has a tendency in many OSs to crash php and require updating/downgrading, etc. (based on the distro and versions of apache and php). If your apache fails to start, take out eAccelerator to see if that was your problem.