Page 2 of 3

Re: Upgrade PHP?

Posted: Mon Jun 24, 2013 11:14 am
by abrist
hmmm, so you built 5.4 from source but still have 5.3 packages installed? You may have to remove the yum packages first if that is the case. This can be a dicey process as you need to make sure that the compile options are correct. Do you not have the option of getting prebuilt php 5.4 packages from yum?

Re: Upgrade PHP?

Posted: Mon Jun 24, 2013 11:16 am
by vAJ
I couldn't find a repo that had one...

Re: Upgrade PHP?

Posted: Mon Jun 24, 2013 11:20 am
by abrist
Yeah, you may need to use a fedora repo for those packages:
http://serverfault.com/questions/456968 ... 3-with-yum
What distribution and release number are you running?

Re: Upgrade PHP?

Posted: Mon Jun 24, 2013 11:24 am
by vAJ
Running Centos 6.4, updated a while back from the 6.3 VM that was available on the XI download site.

Re: Upgrade PHP?

Posted: Mon Jun 24, 2013 11:28 am
by vAJ
Crap, that repo updated me to 5.5...

Re: Upgrade PHP?

Posted: Mon Jun 24, 2013 11:40 am
by abrist
I assume you will have issues with 5.5 as our source guardian package only supports to 5.4. Crap is right. That was the only other repo I have notes about. Fedora must have just moved to 5.5. You may be stuck with either:

1. rolling back to 5.3
2. tinkering with the 5.4 source install
3. finding another repo with 5.4

Re: Upgrade PHP?

Posted: Mon Jun 24, 2013 11:44 am
by vAJ
I'm rolling the VM back to my last snapshot. Not worried about the perf data lost. I've taken this VM down too many rabbit holes.

When I get it back, I'll be on 5.3.3. Do I need to remove the 5.3.3 packages with YUM before trying 5.4 from source again?

Re: Upgrade PHP?

Posted: Mon Jun 24, 2013 11:46 am
by slansing
You should remove all previous PHP versions and packages associated, then fully install php 5.4, let us know how this works!

Re: Upgrade PHP?

Posted: Mon Jun 24, 2013 1:09 pm
by vAJ
So, do I need all of this:

Code: Select all

php-cli.x86_64                        5.3.3-22.el6                     @base
php-common.x86_64                     5.3.3-22.el6                     @base
php-gd.x86_64                         5.3.3-22.el6                     @base
php-ldap.x86_64                       5.3.3-22.el6                     @base
php-mbstring.x86_64                   5.3.3-22.el6                     @base
php-mcrypt.x86_64                     5.3.3-1.el6.rf                   @rpmforge
php-mssql.x86_64                      5.3.3-1.el6                      @epel
php-mysql.x86_64                      5.3.3-22.el6                     @base
php-pdo.x86_64                        5.3.3-22.el6                     @base
php-pear.noarch                       1:1.9.4-4.el6                    @base
php-pear-HTML-Template-IT.noarch      1.3.0-2.el5                      @/php-pear-HTML-Template-IT-1.3.0-2.el5.noarch
php-pgsql.x86_64                      5.3.3-22.el6                     @base
php-snmp.x86_64                       5.3.3-22.el6                     @base
php-xml.x86_64                        5.3.3-22.el6                     @base
Which PHP modules are required for XI?

Re: Upgrade PHP?

Posted: Mon Jun 24, 2013 1:22 pm
by slansing
You will need all of that, looks as though that list will fit the bill. Better safe than sorry late in any case!