Announcement

Collapse
No announcement yet.

Php5 / Mysql 4.1.9 Howto

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • IWorx-Chris
    started a topic Php5 / Mysql 4.1.9 Howto

    Php5 / Mysql 4.1.9 Howto

    I tried to make this easy but I only did it for CentOS at this time due to my busy schedule. I'll accept RPMs for other platforms as well if people would like to submit them.

    !! WARNING !! WARNING !!

    THIS IS DEEMED EXPERIMENTAL AND WILL NOT BE SUPPORTED DIRECTLY BY US. IT MAY BREAK YOUR BOX, IT MAY WORK FINE.

    We have it running on a few internal servers and it has been fine, but you have been forewarned.

    To upgrade your iworx-CP boxes to use php5 and mysql 4.1 you can add this to your /etc/yum.conf

    Code:
    [interworx-php5-mysql4.1]
    name=InterWorx-CP - CentOS - PHP 5.X / MYSQL 4.1.X
    baseurl=http://updates.interworx.info/iworx/RPMS/cos3x/php5-mysql4.1/$basearch
    #gpgcheck=1
    Then just 'yum update' and restart httpd

    NOTE: THE ABOVE WILL ONLY WORK FOR CENTOS BOXES.

    If you'd like to get your Fedora/RedHat/WhiteBox boxes working just compile and install the following RPMS in the following order:

    http://updates.interworx.info/iworx/....iworx.src.rpm
    http://updates.interworx.info/iworx/....iworx.src.rpm
    http://updates.interworx.info/iworx/....iworx.src.rpm

    If you'd like to submit binaries of the other platforms just PM me.

    Chris

  • Guest's Avatar
    Guest replied
    Originally posted by IWorx-Socheat View Post
    Glad you got it sorted out. In case others have the same problem, what was the fix?
    It was a Virtuozzo VPS on which I was upgrading the PHP.Virtuozzo had installed the IMAP and that was conflicting. As I am using InterWorx on that VPS so the IMAP server installed by the Virtuozzo was useless. So the solution is to simply remove the installed Virtuozzo IMAP server.

    Leave a comment:


  • IWorx-Socheat
    replied
    Glad you got it sorted out. In case others have the same problem, what was the fix?

    Leave a comment:


  • Guest's Avatar
    Guest replied
    No worries.I have taken care of it.

    Leave a comment:


  • Guest's Avatar
    Guest replied
    I am trying to upgrade the PHP, as per Chris post I have installed most of the devel packages but this is the one that is causing conflict:

    [root@interworx i386]# rpmbuild --rebuild --with rhe4x http://updates.interworx.info/iworx/....iworx.src.rpm
    Installing http://updates.interworx.info/iworx/....iworx.src.rpm
    error: Failed build dependencies:
    libc-client-devel is needed by php-5.2.0-100.rhe4x.iworx.i386
    When I try to install it using Yum,

    [root@interworx i386]# yum install libc-client-devel
    Setting up Install Process
    Setting up repositories
    Reading repository metadata in from local files
    Excluding Packages in global exclude list
    Finished
    Parsing package install arguments
    Resolving Dependencies
    --> Populating transaction set with selected packages. Please wait.
    ---> Package libc-client-devel.i386 0:2002e-14 set to be updated
    --> Running transaction check
    --> Processing Conflict: libc-client-devel conflicts imap-devel
    --> Finished Dependency Resolution
    Error: libc-client-devel conflicts with imap-devel
    Any suggestions are much appreciated.

    Leave a comment:


  • Guest's Avatar
    Guest replied
    Originally posted by customs
    Hi guys!

    I want to upgrade php to the 5th version on CentOS 3.7 (final).

    I can ask my admin to do it, but need to be sure that he will not break
    the Iworx box accidentally.

    Can you point me to some tutorial? I read few forum posts, but
    found nothing about CentOS 3.7
    InterWorx has it's own PHP installed to run the panel itself. Upgrade the one on the box to your heart's content.

    Leave a comment:


  • Guest's Avatar
    Guest replied
    Hi guys!

    I want to upgrade php to the 5th version on CentOS 3.7 (final).

    I can ask my admin to do it, but need to be sure that he will not break
    the Iworx box accidentally.

    Can you point me to some tutorial? I read few forum posts, but
    found nothing about CentOS 3.7

    Leave a comment:


  • newmind
    replied
    I notice that there are 2 SRPMs for PHP5: 5.0.4 & 5.1.2.

    Will Iworx Chris's "rpmbuild --rebuild --with rhe4x http://updates.interworx.info/iworx/SRPMS/experimental/php-5.0.4-100.iworx.src.rpm"

    work for 5.1.2, or should I just use 5.0.4?

    Thanks,

    --Noah

    Leave a comment:


  • newmind
    replied
    Thanks, Paul.

    I'll give it a shot this evening...

    --Noah

    Leave a comment:


  • IWorx-Paul
    replied
    Hi newmind,

    Usually it's as easy as
    yum install <dependency name here>

    example:

    yum install libgcrypt-devel bzip2-devel etc

    you can do one at a time or many at once.

    Paul

    Leave a comment:


  • newmind
    replied
    Re: PHP5 Upgrade || Getting -devel RPMs...

    Hey all.

    Newbie here with an easy question.

    Where do I get the -devel RPMs that Chris mentions one will likely need when upgrading to PHP5?

    I've got a CentOS 4.3 box and I get the following error when attempting to "rpmbuild --rebuild --with rhe4x http://updates.interworx.info/iworx/SRPMS/experimental/php-5.0.4-100.iworx.src.rpm"

    ************************************************** **
    Installing http://updates.interworx.info/iworx/....iworx.src.rpm
    error: Failed build dependencies:
    libgcrypt-devel is needed by php-5.0.4-100.rhe4x.iworx.i386
    bzip2-devel is needed by php-5.0.4-100.rhe4x.iworx.i386
    libc-client-devel is needed by php-5.0.4-100.rhe4x.iworx.i386
    db4-devel is needed by php-5.0.4-100.rhe4x.iworx.i386
    expat-devel is needed by php-5.0.4-100.rhe4x.iworx.i386
    freetype-devel is needed by php-5.0.4-100.rhe4x.iworx.i386
    gdbm-devel is needed by php-5.0.4-100.rhe4x.iworx.i386
    gmp-devel is needed by php-5.0.4-100.rhe4x.iworx.i386
    aspell-devel >= 0.50.0 is needed by php-5.0.4-100.rhe4x.iworx.i386
    libjpeg-devel is needed by php-5.0.4-100.rhe4x.iworx.i386
    libpng-devel is needed by php-5.0.4-100.rhe4x.iworx.i386
    pam-devel is needed by php-5.0.4-100.rhe4x.iworx.i386
    libstdc++-devel is needed by php-5.0.4-100.rhe4x.iworx.i386
    ncurses-devel is needed by php-5.0.4-100.rhe4x.iworx.i386
    pcre-devel is needed by php-5.0.4-100.rhe4x.iworx.i386
    libmcrypt-devel is needed by php-5.0.4-100.rhe4x.iworx.i386
    postgresql-devel is needed by php-5.0.4-100.rhe4x.iworx.i386
    unixODBC is needed by php-5.0.4-100.rhe4x.iworx.i386
    unixODBC-devel is needed by php-5.0.4-100.rhe4x.iworx.i386
    libxslt-devel >= 1.0.18-1 is needed by php-5.0.4-100.rhe4x.iworx.i386
    libxml2-devel >= 2.4.14-1 is needed by php-5.0.4-100.rhe4x.iworx.i386
    cyrus-sasl-devel is needed by php-5.0.4-100.rhe4x.iworx.i386
    openldap-devel is needed by php-5.0.4-100.rhe4x.iworx.i386
    readline-devel is needed by php-5.0.4-100.rhe4x.iworx.i386
    libmhash-devel is needed by php-5.0.4-100.rhe4x.iworx.i386
    net-snmp-devel is needed by php-5.0.4-100.rhe4x.iworx.i386
    elfutils-devel is needed by php-5.0.4-100.rhe4x.iworx.i386
    **************************************************

    Thanks for feedback...

    Leave a comment:


  • Fr3d
    replied
    You can't download the .rpms for PHP5 and MySQL 4.1 anymore - at least not from IWorx. You need to download the .srpms (source rpms), compile them and then you can install them :)

    I think the instructions for that are on one of the pages of this thread too :p

    Leave a comment:


  • Guest's Avatar
    Guest replied
    on centos 4.3 , the original post of chris not work.



    I added that to /etc/yum.conf


    Then run
    yum upgrade

    And that return error:

    yum upgrade
    Setting up Upgrade Process
    Setting up repositories
    Cannot open/read repomd.xml file for repository: interworx-php5-mysql4.1
    failure: repodata/repomd.xml from interworx-php5-mysql4.1: [Errno 256] No more mirrors to try.
    Error: failure: repodata/repomd.xml from interworx-php5-mysql4.1: [Errno 256] No more mirrors to try.
    Last edited by Dj-Grobe; 06-28-2006, 01:40 PM.

    Leave a comment:


  • Justec
    replied
    Maybe you could give Chris some more info as to why its not working for you.

    Leave a comment:


  • Guest's Avatar
    Guest replied
    this how to not work chris, you should update or delete.

    Bets regards.

    Leave a comment:

Working...
X