FAQ
I have 3 servers 2 of which run CentOS 5.5, and one with 5.7. I was able
to easily upgrade the PHP version to PHP 5.3.8 on the CentOS 5.5 boxes but
was thwarted on the 5.7. Does anyone have any tips for how to get PHP
5.3.x installed on CentOS 5.7?

Search Discussions

  • Luigi Rosa at Oct 10, 2011 at 1:25 pm

    dev at nkmo.com said the following on 10/10/11 19:13:
    I have 3 servers 2 of which run CentOS 5.5, and one with 5.7. I was able
    to easily upgrade the PHP version to PHP 5.3.8 on the CentOS 5.5 boxes but
    was thwarted on the 5.7. Does anyone have any tips for how to get PHP
    5.3.x installed on CentOS 5.7?
    What's the error you get?




    Ciao,
    luigi

    --
    /
    +--[Luigi Rosa]--
    \

    Light travels faster than sound.
    This is why some people appear bright until you hear them speak.
  • Dev at Oct 10, 2011 at 1:30 pm
    Luigi,
    I ran the following commands which worked flawlessly on the CentOS 5.5

    root at 378907 [~]# wget -q -O - http://www.atomicorp.com/installers/atomic | sh

    Atomic Archive installer, version 2.0
    Configuring the [atomic] yum archive for this system

    Installing the Atomic GPG key: OK
    The Atomic Rocket Turtle archive has now been installed and configured for
    your system

    root at 378907 [~]# yum update php mysql
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
    * atomic: www5.atomicorp.com
    * rpmforge: fr2.rpmfind.net
    Excluding Packages in global exclude list
    Finished
    Setting up Update Process
    No Match for argument: php
    No package php available.
    No Packages marked for Update


    Alan
    dev at nkmo.com said the following on 10/10/11 19:13:
    I have 3 servers 2 of which run CentOS 5.5, and one with 5.7. I was able
    to easily upgrade the PHP version to PHP 5.3.8 on the CentOS 5.5 boxes
    but
    was thwarted on the 5.7. Does anyone have any tips for how to get PHP
    5.3.x installed on CentOS 5.7?
    What's the error you get?




    Ciao,
    luigi

    --
    /
    +--[Luigi Rosa]--
    \

    Light travels faster than sound.
    This is why some people appear bright until you hear them speak.
    _______________________________________________
    CentOS mailing list
    CentOS at centos.org
    http://lists.centos.org/mailman/listinfo/centos
  • John R Pierce at Oct 10, 2011 at 1:36 pm

    On 10/10/11 10:30 AM, dev at nkmo.com wrote:
    root at 378907 [~]# wget -q -O -http://www.atomicorp.com/installers/atomic | sh

    Atomic Archive installer, version 2.0
    Configuring the [atomic] yum archive for this system

    Installing the Atomic GPG key: OK
    The Atomic Rocket Turtle archive has now been installed and configured for
    your system
    atomic rocket turtle? What is this? whatever it is, its not part of
    CentOS.





    --
    john r pierce N 37, W 122
    santa cruz ca mid-left coast
  • Dev at Oct 10, 2011 at 1:43 pm
    It is a yum repository update. It worked great on the other machines. More
    info here:http://www.atomicorp.com/wiki/index.php/PHP
    Alan


    On 10/10/11 10:30 AM, dev at nkmo.com wrote:
    root at 378907 [~]# wget -q -O -http://www.atomicorp.com/installers/atomic
    sh
    Atomic Archive installer, version 2.0
    Configuring the [atomic] yum archive for this system

    Installing the Atomic GPG key: OK
    The Atomic Rocket Turtle archive has now been installed and configured
    for
    your system
    atomic rocket turtle? What is this? whatever it is, its not part of
    CentOS.





    --
    john r pierce N 37, W 122
    santa cruz ca mid-left coast

    _______________________________________________
    CentOS mailing list
    CentOS at centos.org
    http://lists.centos.org/mailman/listinfo/centos
  • John R Pierce at Oct 10, 2011 at 1:58 pm

    On 10/10/11 10:43 AM, dev at nkmo.com wrote:
    It is a yum repository update. It worked great on the other machines. More
    info here:http://www.atomicorp.com/wiki/index.php/PHP
    thats nice, but its not part of CentOS, so you should probably get on
    THEIR mail list and find out why its not working for 5.7



    --
    john r pierce N 37, W 122
    santa cruz ca mid-left coast
  • Dev at Oct 10, 2011 at 2:03 pm
    I am not that particular about which method is used, I just want it
    installed. I am new to the list and apologize if asking for this type of
    help is inappropriate. Just trying to upgrade to make my developer happy.
    Alan


    On 10/10/11 10:43 AM, dev at nkmo.com wrote:
    It is a yum repository update. It worked great on the other machines.
    More
    info here:http://www.atomicorp.com/wiki/index.php/PHP
    thats nice, but its not part of CentOS, so you should probably get on
    THEIR mail list and find out why its not working for 5.7



    --
    john r pierce N 37, W 122
    santa cruz ca mid-left coast

    _______________________________________________
    CentOS mailing list
    CentOS at centos.org
    http://lists.centos.org/mailman/listinfo/centos
  • Pavel Lisy at Oct 10, 2011 at 2:06 pm

    dev at nkmo.com p??e v Po 10. 10. 2011 v 10:30 -0700:
    Luigi,
    I ran the following commands which worked flawlessly on the CentOS 5.5
    I think there is a better way. You can use php53 packages from centos.
    I've had many bad experiences with third part repositories. So my
    suggestion is: use std. repo whenever is it possible

    Pavel
    root at 378907 [~]# wget -q -O - http://www.atomicorp.com/installers/atomic | sh

    Atomic Archive installer, version 2.0
    Configuring the [atomic] yum archive for this system

    Installing the Atomic GPG key: OK
    The Atomic Rocket Turtle archive has now been installed and configured for
    your system

    root at 378907 [~]# yum update php mysql
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
    * atomic: www5.atomicorp.com
    * rpmforge: fr2.rpmfind.net
    Excluding Packages in global exclude list
    Finished
    Setting up Update Process
    No Match for argument: php
    No package php available.
    No Packages marked for Update


    Alan
    dev at nkmo.com said the following on 10/10/11 19:13:
    I have 3 servers 2 of which run CentOS 5.5, and one with 5.7. I was able
    to easily upgrade the PHP version to PHP 5.3.8 on the CentOS 5.5 boxes
    but
    was thwarted on the 5.7. Does anyone have any tips for how to get PHP
    5.3.x installed on CentOS 5.7?
    What's the error you get?




    Ciao,
    luigi

    --
    /
    +--[Luigi Rosa]--
    \

    Light travels faster than sound.
    This is why some people appear bright until you hear them speak.
    _______________________________________________
    CentOS mailing list
    CentOS at centos.org
    http://lists.centos.org/mailman/listinfo/centos

    _______________________________________________
    CentOS mailing list
    CentOS at centos.org
    http://lists.centos.org/mailman/listinfo/centos
  • Dev at Oct 10, 2011 at 2:27 pm
    I would love to use the standard repository, unfortunately the package is
    not found which was how I ended up finding the third part solution. I
    tried:
    yum update php
    yum upgrade php
    yum install php
    yum install php53


    root at 378907 [~]# yum --disablerepo=atomic install php53
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
    * rpmforge: fr2.rpmfind.net
    Excluding Packages in global exclude list
    Finished
    Setting up Install Process
    No package php53 available.
    Nothing to do
    root at 378907 [~]#

    I am not sure how to change repositories, not sure what the name is of the
    official CentOS repository is to use the --enablerepo= command or how to
    see if there is a php 5.3.x version available for my installation
    available or if I am beating my head against a wall and the CentOS 5.7 is
    actually incompatible with the newest version.
  • John R Pierce at Oct 10, 2011 at 2:34 pm

    On 10/10/11 11:27 AM, dev at nkmo.com wrote:
    I would love to use the standard repository, unfortunately the package is
    not found which was how I ended up finding the third part solution. I
    tried:
    yum update php
    yum upgrade php
    yum install php
    yum install php53
    odd.


    $ sudo yum list php53\*
    Loaded plugins: fastestmirror, priorities
    Loading mirror speeds from cached hostfile
    * base: mirror.nic.uoregon.edu
    * extras: mirror.nic.uoregon.edu
    * updates: centos.mirror.facebook.net
    Excluding Packages from CentOS-5 - Base
    Finished
    Excluding Packages from CentOS-5 - Updates
    Finished
    Available Packages
    php53.i386
    5.3.3-1.el5_6.1 base
    php53-bcmath.i386
    5.3.3-1.el5_6.1 base
    php53-cli.i386
    5.3.3-1.el5_6.1 base
    php53-common.i386
    5.3.3-1.el5_6.1 base
    php53-dba.i386
    5.3.3-1.el5_6.1 base
    php53-devel.i386
    5.3.3-1.el5_6.1 base
    php53-gd.i386
    5.3.3-1.el5_6.1 base
    php53-imap.i386
    5.3.3-1.el5_6.1 base
    php53-intl.i386
    5.3.3-1.el5_6.1 base
    php53-ldap.i386
    5.3.3-1.el5_6.1 base
    php53-mbstring.i386
    5.3.3-1.el5_6.1 base
    php53-mysql.i386
    5.3.3-1.el5_6.1 base
    php53-odbc.i386
    5.3.3-1.el5_6.1 base
    php53-pdo.i386
    5.3.3-1.el5_6.1 base
    php53-pgsql.i386
    5.3.3-1.el5_6.1 base
    php53-process.i386
    5.3.3-1.el5_6.1 base
    php53-pspell.i386
    5.3.3-1.el5_6.1 base
    php53-snmp.i386
    5.3.3-1.el5_6.1 base
    php53-soap.i386
    5.3.3-1.el5_6.1 base
    php53-xml.i386
    5.3.3-1.el5_6.1 base
    php53-xmlrpc.i386
    5.3.3-1.el5_6.1 base


    it appears from your yum output, you have the base repositories disabled?!?


    --
    john r pierce N 37, W 122
    santa cruz ca mid-left coast
  • Brian Mathis at Oct 10, 2011 at 2:35 pm

    On Mon, Oct 10, 2011 at 2:27 PM, wrote:
    I would love to use the standard repository, unfortunately the package is
    not found which was how I ended up finding the third part solution. I
    tried:
    yum update php
    yum upgrade php
    yum install php
    yum install php53

    root at 378907 [~]# yum --disablerepo=atomic install php53
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
    ?* rpmforge: fr2.rpmfind.net
    Excluding Packages in global exclude list
    Finished
    Setting up Install Process
    No package php53 available.
    Nothing to do
    root at 378907 [~]#

    I am not sure how to change repositories, not sure what the name is of the
    official CentOS repository is to use the --enablerepo= command or how to
    see if there is a php 5.3.x version available for my installation
    available or if I am beating my head against a wall and the CentOS 5.7 is
    actually incompatible with the newest version.

    The php53 package from the standard repo does not work well *, so you
    are better off using a 3rd party repo. General consensus is that the
    IUS repo (http://iuscommunity.org/) is the best one to use.

    I would remove the atomic repo, install IUS, then install/update php from there.

    Side point: Running arbitrary code from the web is a very bad idea, so
    you should never do something like this:
    wget -q -O - http://www.atomicorp.com/installers/atomic | sh # BAD!


    * It's not so good because it does not provide proper rpm tags that
    let other rpms know that php is installed. It announces itself as
    "php53", and most package looks for "php", so they can't find it.


    -? Brian Mathis ?-
  • Steve Walsh at Oct 10, 2011 at 8:10 pm

    On 10/11/2011 05:35 AM, Brian Mathis wrote:
    The php53 package from the standard repo does not work well *, so you
    are better off using a 3rd party repo. General consensus is that the
    IUS repo (http://iuscommunity.org/) is the best one to use.

    I would remove the atomic repo, install IUS, then install/update php from there.
    Atomic Rocket Turtle is an add-on repository for people running the
    PLESK control panel, so they can upgrade their version of php from that
    which PLESK installs by default.
    * It's not so good because it does not provide proper rpm tags that
    let other rpms know that php is installed. It announces itself as
    "php53", and most package looks for "php", so they can't find it.
    Which is exactly the problem that plagues the php53 packages upstream
    have supplied for EL5. IUS is about the best bet to resolve this issue
  • Dev at Oct 12, 2011 at 1:14 pm
    I got the IUS installed using the commands but was still unable to upgrade
    the php package, any ideas?

    root at 378907 [/home/ajhalls]# rpm -install epel-release-5-4.noarch.rpm
    -install: unknown option
    root at 378907 [/home/ajhalls]# rpm -ivh epel-release-5-4.noarch.rpm
    warning: epel-release-5-4.noarch.rpm: Header V4 DSA signature: NOKEY, key
    ID 9cd4953f
    Preparing... ###########################################
    [100%]
    1:epel-release ###########################################
    [100%]
    root at 378907 [/home/ajhalls]# rpm -ivh
    00031.mpg install-tl-unx/
    10-6-11.tar ius-release-1.0-8.ius.el5.noarch.rpm
    access-logs/ .lastlogin
    applications/ mail/
    backups/ Media/
    .bash_history .mozilla/
    .bash_logout .my.cnf
    .bash_profile mysql
    .bashrc .mysql_history
    conf/ perl5/
    .contactemail public_ftp/
    .cpanel/ public_html/
    cpanel3-skel/ quiz_category.txt
    DB_backup_10-6-11.sql safehtml.php
    .dns show
    epel-release-5-4.noarch.rpm .ssh/
    etc/ stats/
    flv/ tmp/
    forum.sql .trash/
    hello uptime.log
    homux-stat.db www/
    .htpasswds/ .Xauthority
    I.am.number.1 .zshrc
    root at 378907 [/home/ajhalls]# rpm -ivh ius-release-1.0-8.ius.el5.noarch.rpm
    warning: ius-release-1.0-8.ius.el5.noarch.rpm: Header V4 DSA signature:
    NOKEY, key ID 9cd4953f
    Preparing... ###########################################
    [100%]
    1:ius-release ###########################################
    [100%]
    root at 378907 [/home/ajhalls]# yum upgrade php
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
    * epel: linux.mirrors.es.net
    * ius: pancks.sothatswhy.org.uk
    * rpmforge: fr2.rpmfind.net
    addons | 951 B 00:00
    base | 1.1 kB 00:00
    epel | 3.7 kB 00:00
    epel/primary_db | 3.8 MB 00:03
    extras | 2.1 kB 00:00
    ius | 2.2 kB 00:00
    ius/primary_db | 83 kB 00:00
    rpmforge | 1.1 kB 00:00
    updates | 1.9 kB 00:00
    Excluding Packages in global exclude list
    Finished
    Setting up Upgrade Process
    No Match for argument: php
    No package php available.
    No Packages marked for Update
    root at 378907 [/home/ajhalls]# yum install php53
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
    * epel: linux.mirrors.es.net
    * ius: pancks.sothatswhy.org.uk
    * rpmforge: fr2.rpmfind.net
    Excluding Packages in global exclude list
    Finished
    Setting up Install Process
    No package php53 available.
    Nothing to do
  • Mark Roth at Oct 12, 2011 at 1:23 pm

    dev at nkmo.com wrote:
    I got the IUS installed using the commands but was still unable to upgrade
    the php package, any ideas?
    <snip>
    I may have missed some previously in this thread, so forgive me if I asked
    something that's already been suggested: what's the o/p of
    yum list \*php\*
    ?

    mark
  • Eero Volotinen at Oct 12, 2011 at 1:40 pm
    package name in ius is php53u

    eero
    12.10.2011 20.15 <dev at nkmo.com> kirjoitti:
    I got the IUS installed using the commands but was still unable to upgrade
    the php package, any ideas?

    root at 378907 [/home/ajhalls]# rpm -install epel-release-5-4.noarch.rpm
    -install: unknown option
    root at 378907 [/home/ajhalls]# rpm -ivh epel-release-5-4.noarch.rpm
    warning: epel-release-5-4.noarch.rpm: Header V4 DSA signature: NOKEY, key
    ID 9cd4953f
    Preparing... ###########################################
    [100%]
    1:epel-release ###########################################
    [100%]
    root at 378907 [/home/ajhalls]# rpm -ivh
    00031.mpg install-tl-unx/
    10-6-11.tar ius-release-1.0-8.ius.el5.noarch.rpm
    access-logs/ .lastlogin
    applications/ mail/
    backups/ Media/
    .bash_history .mozilla/
    .bash_logout .my.cnf
    .bash_profile mysql
    .bashrc .mysql_history
    conf/ perl5/
    .contactemail public_ftp/
    .cpanel/ public_html/
    cpanel3-skel/ quiz_category.txt
    DB_backup_10-6-11.sql safehtml.php
    .dns show
    epel-release-5-4.noarch.rpm .ssh/
    etc/ stats/
    flv/ tmp/
    forum.sql .trash/
    hello uptime.log
    homux-stat.db www/
    .htpasswds/ .Xauthority
    I.am.number.1 .zshrc
    root at 378907 [/home/ajhalls]# rpm -ivh ius-release-1.0-8.ius.el5.noarch.rpm
    warning: ius-release-1.0-8.ius.el5.noarch.rpm: Header V4 DSA signature:
    NOKEY, key ID 9cd4953f
    Preparing... ###########################################
    [100%]
    1:ius-release ###########################################
    [100%]
    root at 378907 [/home/ajhalls]# yum upgrade php
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
    * epel: linux.mirrors.es.net
    * ius: pancks.sothatswhy.org.uk
    * rpmforge: fr2.rpmfind.net
    addons | 951 B 00:00
    base | 1.1 kB 00:00
    epel | 3.7 kB 00:00
    epel/primary_db | 3.8 MB 00:03
    extras | 2.1 kB 00:00
    ius | 2.2 kB 00:00
    ius/primary_db | 83 kB 00:00
    rpmforge | 1.1 kB 00:00
    updates | 1.9 kB 00:00
    Excluding Packages in global exclude list
    Finished
    Setting up Upgrade Process
    No Match for argument: php
    No package php available.
    No Packages marked for Update
    root at 378907 [/home/ajhalls]# yum install php53
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
    * epel: linux.mirrors.es.net
    * ius: pancks.sothatswhy.org.uk
    * rpmforge: fr2.rpmfind.net
    Excluding Packages in global exclude list
    Finished
    Setting up Install Process
    No package php53 available.
    Nothing to do


    _______________________________________________
    CentOS mailing list
    CentOS at centos.org
    http://lists.centos.org/mailman/listinfo/centos
  • Dev at Oct 12, 2011 at 2:40 pm
    Sorry Mark, I started this upgrade project a few days ago and am stepping
    back to it now that I have a little more time. I tried the php53u package
    like eero suggested but the package could not be found still. I did a "yum
    search php" and there aren't ANY packages that start with php, the closest
    I have is phc which is the php compliler. We would love to be able to
    figure this out so we can run php.activerecord.


    root at 378907 [/etc/yum.repos.d]# yum install php53u
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
    * epel: linux.mirrors.es.net
    * ius: pancks.sothatswhy.org.uk
    * rpmforge: fr2.rpmfind.net
    addons
    951 B
    00:00
    base
    1.1 kB
    00:00
    epel
    3.7 kB
    00:00
    extras
    2.1 kB
    00:00
    ius
    2.2 kB
    00:00
    rpmforge
    1.1 kB
    00:00
    updates
    1.9 kB
    00:00
    Excluding Packages in global exclude list
    Finished
    Setting up Install Process
    No package php53u available.
    Nothing to do



    package name in ius is php53u

    eero
    12.10.2011 20.15 <dev at nkmo.com> kirjoitti:
    I got the IUS installed using the commands but was still unable to
    upgrade
    the php package, any ideas?

    root at 378907 [/home/ajhalls]# rpm -install epel-release-5-4.noarch.rpm
    -install: unknown option
    root at 378907 [/home/ajhalls]# rpm -ivh epel-release-5-4.noarch.rpm
    warning: epel-release-5-4.noarch.rpm: Header V4 DSA signature: NOKEY,
    key
    ID 9cd4953f
    Preparing... ###########################################
    [100%]
    1:epel-release ###########################################
    [100%]
    root at 378907 [/home/ajhalls]# rpm -ivh
    00031.mpg install-tl-unx/
    10-6-11.tar
    ius-release-1.0-8.ius.el5.noarch.rpm
    access-logs/ .lastlogin
    applications/ mail/
    backups/ Media/
    .bash_history .mozilla/
    .bash_logout .my.cnf
    .bash_profile mysql
    .bashrc .mysql_history
    conf/ perl5/
    .contactemail public_ftp/
    .cpanel/ public_html/
    cpanel3-skel/ quiz_category.txt
    DB_backup_10-6-11.sql safehtml.php
    .dns show
    epel-release-5-4.noarch.rpm .ssh/
    etc/ stats/
    flv/ tmp/
    forum.sql .trash/
    hello uptime.log
    homux-stat.db www/
    .htpasswds/ .Xauthority
    I.am.number.1 .zshrc
    root at 378907 [/home/ajhalls]# rpm -ivh
    ius-release-1.0-8.ius.el5.noarch.rpm
    warning: ius-release-1.0-8.ius.el5.noarch.rpm: Header V4 DSA signature:
    NOKEY, key ID 9cd4953f
    Preparing... ###########################################
    [100%]
    1:ius-release ###########################################
    [100%]
    root at 378907 [/home/ajhalls]# yum upgrade php
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
    * epel: linux.mirrors.es.net
    * ius: pancks.sothatswhy.org.uk
    * rpmforge: fr2.rpmfind.net
    addons | 951 B
    00:00
    base | 1.1 kB
    00:00
    epel | 3.7 kB
    00:00
    epel/primary_db | 3.8 MB
    00:03
    extras | 2.1 kB
    00:00
    ius | 2.2 kB
    00:00
    ius/primary_db | 83 kB
    00:00
    rpmforge | 1.1 kB
    00:00
    updates | 1.9 kB
    00:00
    Excluding Packages in global exclude list
    Finished
    Setting up Upgrade Process
    No Match for argument: php
    No package php available.
    No Packages marked for Update
    root at 378907 [/home/ajhalls]# yum install php53
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
    * epel: linux.mirrors.es.net
    * ius: pancks.sothatswhy.org.uk
    * rpmforge: fr2.rpmfind.net
    Excluding Packages in global exclude list
    Finished
    Setting up Install Process
    No package php53 available.
    Nothing to do


    _______________________________________________
    CentOS mailing list
    CentOS at centos.org
    http://lists.centos.org/mailman/listinfo/centos
    _______________________________________________
    CentOS mailing list
    CentOS at centos.org
    http://lists.centos.org/mailman/listinfo/centos
  • Mark Roth at Oct 12, 2011 at 2:45 pm

    dev at nkmo.com wrote:
    Sorry Mark, I started this upgrade project a few days ago and am stepping
    back to it now that I have a little more time. I tried the php53u package
    like eero suggested but the package could not be found still. I did a "yum
    search php" and there aren't ANY packages that start with php, the closest
    I have is phc which is the php compliler. We would love to be able to
    figure this out so we can run php.activerecord.
    That's why I asked you to do a list, not search (I actually haven't used
    the latter), with wildcards, to get *everything* that's got php in it.

    mark
  • Ljubomir Ljubojevic at Oct 12, 2011 at 3:13 pm

    Vreme: 10/12/2011 08:45 PM, m.roth at 5-cent.us pi?e:
    dev at nkmo.com wrote:
    Sorry Mark, I started this upgrade project a few days ago and am stepping
    back to it now that I have a little more time. I tried the php53u package
    like eero suggested but the package could not be found still. I did a "yum
    search php" and there aren't ANY packages that start with php, the closest
    I have is phc which is the php compliler. We would love to be able to
    figure this out so we can run php.activerecord.
    That's why I asked you to do a list, not search (I actually haven't used
    the latter), with wildcards, to get *everything* that's got php in it.

    mark

    _______________________________________________
    CentOS mailing list
    CentOS at centos.org
    http://lists.centos.org/mailman/listinfo/centos
    yum clean all
    then
    yum list *php*


    --

    Ljubomir Ljubojevic
    (Love is in the Air)
    PL Computers
    Serbia, Europe

    Google is the Mother, Google is the Father, and traceroute is your
    trusty Spiderman...
    StarOS, Mikrotik and CentOS/RHEL/Linux consultant
  • Mark Roth at Oct 12, 2011 at 3:26 pm

    Ljubomir Ljubojevic wrote:
    Vreme: 10/12/2011 08:45 PM, m.roth at 5-cent.us pi?e:
    dev at nkmo.com wrote:
    Sorry Mark, I started this upgrade project a few days ago and am
    stepping back to it now that I have a little more time. I tried the
    php53u package like eero suggested but the package could not be found
    still. I did a "yum search php" and there aren't ANY packages that
    start with php, the closest I have is phc which is the php compliler.
    We would love to be able to figure this out so we can run
    php.activerecord.
    That's why I asked you to do a list, not search (I actually haven't used
    the latter), with wildcards, to get *everything* that's got php in it.
    yum clean all
    then
    yum list *php*
    clean all might be a good idea, but I always use escaped wildcards, so
    there's no chance of shell interaction. Works fine fer me. Here's the
    first bit of what I get:
    php-domxml-php4-php5.noarch 1.21.2-1.el5 epel
    php53.x86_64 5.3.3-1.el5_6.1 base
    php53-bcmath.x86_64 5.3.3-1.el5_6.1 base
    php53-cli.x86_64 5.3.3-1.el5_6.1 base
    php53-common.x86_64 5.3.3-1.el5_6.1 base
    php53-dba.x86_64 5.3.3-1.el5_6.1 base
    php53-devel.x86_64 5.3.3-1.el5_6.1 base
    php53-enchant.x86_64 5.3.3-1.el5 epel
    php53-gd.x86_64 5.3.3-1.el5_6.1 base
    php53-imap.x86_64 5.3.3-1.el5_6.1 base
    php53-interbase.x86_64 5.3.3-1.el5 epel
    php53-intl.x86_64 5.3.3-1.el5_6.1 base
    php53-ldap.x86_64 5.3.3-1.el5_6.1 base
    php53-mapi.x86_64 7.0.1-1.el5 epel
    php53-mbstring.x86_64 5.3.3-1.el5_6.1 base
    php53-mcrypt.x86_64 5.3.3-1.el5 epel

    Don't feel like adding the other page or two of php53's.

    mark
  • Ljubomir Ljubojevic at Oct 12, 2011 at 3:51 pm

    Vreme: 10/12/2011 09:26 PM, m.roth at 5-cent.us pi?e:
    Ljubomir Ljubojevic wrote:
    Vreme: 10/12/2011 08:45 PM, m.roth at 5-cent.us pi?e:
    dev at nkmo.com wrote:
    Sorry Mark, I started this upgrade project a few days ago and am
    stepping back to it now that I have a little more time. I tried the
    php53u package like eero suggested but the package could not be found
    still. I did a "yum search php" and there aren't ANY packages that
    start with php, the closest I have is phc which is the php compliler.
    We would love to be able to figure this out so we can run
    php.activerecord.
    That's why I asked you to do a list, not search (I actually haven't used
    the latter), with wildcards, to get *everything* that's got php in it.
    yum clean all
    then
    yum list *php*
    clean all might be a good idea, but I always use escaped wildcards, so
    there's no chance of shell interaction. Works fine fer me. Here's the
    What bothers me is "Excluding Packages in global exclude list" he got
    when runing yum. It looks like he has active global Exclude list or
    maybe base protection including php* files.

    "yum list \*php\* --disableplugin=* --enablerepo=* --showduplicates"
    might help.


    --

    Ljubomir Ljubojevic
    (Love is in the Air)
    PL Computers
    Serbia, Europe

    Google is the Mother, Google is the Father, and traceroute is your
    trusty Spiderman...
    StarOS, Mikrotik and CentOS/RHEL/Linux consultant
  • Lamar Owen at Oct 12, 2011 at 5:11 pm

    On Wednesday, October 12, 2011 03:26:03 PM m.roth at 5-cent.us wrote:

    yum list *php*
    clean all might be a good idea, but I always use escaped wildcards, so
    there's no chance of shell interaction. Works fine fer me. Here's the
    first bit of what I get:
    Incidentally, kmail (for one MUA) renders an unescaped set of bracketing asterisks as above as being a trigger to bold the bracketed text, so it rendered as 'yum list <bold>php</bold>' here.... escaped asterisks don't do that.... It looked interesting seeing the php bolded in a command, though....
  • Ljubomir Ljubojevic at Oct 12, 2011 at 5:31 pm

    Vreme: 10/12/2011 11:11 PM, Lamar Owen pi?e:
    On Wednesday, October 12, 2011 03:26:03 PM m.roth at 5-cent.us wrote:

    yum list *php*
    clean all might be a good idea, but I always use escaped wildcards, so
    there's no chance of shell interaction. Works fine fer me. Here's the
    first bit of what I get:
    Incidentally, kmail (for one MUA) renders an unescaped set of bracketing asterisks as above as being a trigger to bold the bracketed text, so it rendered as 'yum list<bold>php</bold>' here.... escaped asterisks don't do that.... It looked interesting seeing the php bolded in a command, though....
    _______________________________________________
    CentOS mailing list
    CentOS at centos.org
    http://lists.centos.org/mailman/listinfo/centos
    In your reply (HTML) Thunderbird shows entire php with stars in bold.

    --

    Ljubomir Ljubojevic
    (Love is in the Air)
    PL Computers
    Serbia, Europe

    Google is the Mother, Google is the Father, and traceroute is your
    trusty Spiderman...
    StarOS, Mikrotik and CentOS/RHEL/Linux consultant
  • Dev at Oct 12, 2011 at 3:45 pm
    This was my response from the yum list.

    root at 378907 [/etc/yum.repos.d]# yum clean all
    Loaded plugins: fastestmirror
    Cleaning up Everything
    Cleaning up list of fastest mirrors
    root at 378907 [/etc/yum.repos.d]# yum list *php*
    Loaded plugins: fastestmirror
    Determining fastest mirrors
    * epel: linux.mirrors.es.net
    * ius: pancks.sothatswhy.org.uk
    * rpmforge: apt.sw.be
    addons
    951 B
    00:00
    addons/primary
    204 B
    00:00
    base
    1.1 kB
    00:00
    base/primary
    1.2 MB
    00:00
    base


    3566/3566
    epel
    3.7 kB
    00:00
    epel/primary_db
    3.8 MB
    00:02
    extras
    2.1 kB
    00:00
    extras/primary_db
    159 kB
    00:00
    ius
    2.2 kB
    00:00
    ius/primary_db
    83 kB
    00:00
    rpmforge
    1.1 kB
    00:00
    rpmforge/primary
    3.9 MB
    00:26
    rpmforge


    10797/10797
    updates
    1.9 kB
    00:00
    updates/primary_db
    205 kB
    00:00
    Excluding Packages in global exclude list
    Finished
    Available Packages
    graphviz-php.x86_64
    2.12-8.el5

    epel
    mnogosearch-php.x86_64
    3.3.11-1.el5.rf

    rpmforge
    mod_suphp.x86_64
    0.7.1-1.el5.rf

    rpmforge
    nntpgrab-php.x86_64
    0.7.0-1.el5

    epel
    rrdtool-php.x86_64
    1.2.27-3.el5

    epel
    syck-php.x86_64
    0.55-10.el5

    epel
    uuid-php.x86_64
    1.5.1-3.el5

    epel
    root at 378907 [/etc/yum.repos.d]#
    Vreme: 10/12/2011 08:45 PM, m.roth at 5-cent.us pi?e:
    dev at nkmo.com wrote:
    Sorry Mark, I started this upgrade project a few days ago and am
    stepping
    back to it now that I have a little more time. I tried the php53u
    package
    like eero suggested but the package could not be found still. I did a
    "yum
    search php" and there aren't ANY packages that start with php, the
    closest
    I have is phc which is the php compliler. We would love to be able to
    figure this out so we can run php.activerecord.
    That's why I asked you to do a list, not search (I actually haven't used
    the latter), with wildcards, to get *everything* that's got php in it.

    mark

    _______________________________________________
    CentOS mailing list
    CentOS at centos.org
    http://lists.centos.org/mailman/listinfo/centos
    yum clean all
    then
    yum list *php*


    --

    Ljubomir Ljubojevic
    (Love is in the Air)
    PL Computers
    Serbia, Europe

    Google is the Mother, Google is the Father, and traceroute is your
    trusty Spiderman...
    StarOS, Mikrotik and CentOS/RHEL/Linux consultant
    _______________________________________________
    CentOS mailing list
    CentOS at centos.org
    http://lists.centos.org/mailman/listinfo/centos
  • John R. Dennison at Oct 12, 2011 at 3:49 pm

    On Wed, Oct 12, 2011 at 12:45:11PM -0700, dev at nkmo.com wrote:
    This was my response from the yum list.
    And what does "grep -r exclude /etc/yum*" return? What control panel is
    in use?




    John
    --
    For only the good doubt their own goodness, which is what makes them good
    in the first place. The bad know they are good, but the good know nothing.
    They spend their lives forgiving others, but they can't forgive themselves.

    -- Paul Auster (1947-), American novelist and poet, Man In The Dark, p 63 (2008)
  • Dev at Oct 12, 2011 at 6:30 pm
    While everyone was right, John got the "Gold Star" award for reminding me
    that this server has WHM Cpanel installed on it. So far the control panel
    interferes more than it ever helps when I am trying to manually install
    packages. Thank you all for your support, I have been very impressed with
    the promptness and ability of the list. I am now running the newest
    version on the machine by installing through the CP.

    Thanks again
    Alan
    On Wed, Oct 12, 2011 at 12:45:11PM -0700, dev at nkmo.com wrote:
    This was my response from the yum list.
    And what does "grep -r exclude /etc/yum*" return? What control panel is
    in use?




    John
    --
    For only the good doubt their own goodness, which is what makes them good
    in the first place. The bad know they are good, but the good know
    nothing.
    They spend their lives forgiving others, but they can't forgive
    themselves.

    -- Paul Auster (1947-), American novelist and poet, Man In The Dark, p 63
    (2008)
    _______________________________________________
    CentOS mailing list
    CentOS at centos.org
    http://lists.centos.org/mailman/listinfo/centos
  • Mark Roth at Oct 12, 2011 at 4:34 pm

    dev at nkmo.com wrote:
    This was my response from the yum list.

    root at 378907 [/etc/yum.repos.d]# yum clean all <snip>
    root at 378907 [/etc/yum.repos.d]# yum list *php*
    <snip> | >
    Excluding Packages in global exclude list
    Finished
    Available Packages
    graphviz-php.x86_64 2.12-8.el5 epel
    mnogosearch-php.x86_64 3.3.11-1.el5.rf rpmforge
    mod_suphp.x86_64 0.7.1-1.el5.rf rpmforge
    nntpgrab-php.x86_64 0.7.0-1.el5 epel
    rrdtool-php.x86_64 1.2.27-3.el5 epel
    syck-php.x86_64 0.55-10.el5 epel
    uuid-php.x86_64 1.5.1-3.el5 epel
    That's *all*?! There's something *very* wrong - I literally got yum list
    \*php5\* | grep php53 | wc -l
    28

    And as another poster noted, there's no base repository.

    mark
  • John R Pierce at Oct 12, 2011 at 4:20 pm

    On 10/12/11 11:40 AM, dev at nkmo.com wrote:
    # yum install php53u
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
    * epel: linux.mirrors.es.net
    * ius: pancks.sothatswhy.org.uk
    * rpmforge: fr2.rpmfind.net
    no Base, Updates ?!?

    why are they disabled?



    --
    john r pierce N 37, W 122
    santa cruz ca mid-left coast

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcentos @
categoriescentos
postedOct 10, '11 at 1:13p
activeOct 12, '11 at 6:30p
posts27
users11
websitecentos.org
irc#centos

People

Translate

site design / logo © 2022 Grokbase