Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 25
  1. #1
    Member
    Join Date
    Feb 2002
    Posts
    74

    Default Upgrading PHP with buildapache.sea

    Hello,

    I have recently installed the buildapache.sea upgrade and was under the impression that this would also upgrade php to version 4.2.1 . For some reason, it has not upgraded php on my box. (An old version still remains).

    This is very important, for a number of reasons I need to get PHP upgraded to the latest version. Please let me know what I should do.

    I am running red hat 7.1

    Thanks!

  2. #2
    itf
    itf is offline
    Member
    Join Date
    May 2002
    Posts
    626

    Default

    Did you receive any error during installation of Buildapache.sea?

    try to reinstall buildapache.sea.
    Please use messengers to contact me:
    MSN: patrickay@msn.com
    AIM: PatrickITF

  3. #3
    Member
    Join Date
    Feb 2002
    Posts
    74

    Default

    Nope, no errors that I could see. However when you install buildapache.sea a million lines fly by, so I suppose there could have been some errors in there.

    I have installed it multiple times, and it never upgrades the php. I installed it on a different server and the upgrade went through fine.

    Any ideas?

  4. #4
    itf
    itf is offline
    Member
    Join Date
    May 2002
    Posts
    626

    Default

    Are these two lines available in /usr/local/apache/conf/httpd.conf ?

    LoadModule php4_module libexec/libphp4.so

    AddModule mod_php4.c


    restart Apache then check PHP version in WHM -& Sever Status -& Apache Status
    Please use messengers to contact me:
    MSN: patrickay@msn.com
    AIM: PatrickITF

  5. #5
    Member
    Join Date
    Feb 2002
    Posts
    74

    Default

    Yes, both of those lines are in httpd.conf . Restart apache, check PHP version in Apache Status: PHP/(oldversion)

    The old php version is working properly, I just need to upgrade it to the new version.

  6. #6
    cPanel Partner NOC This forum account has been confirmed by cPanel staff to represent a vendor.cPanel Partner NOC Badge
    Join Date
    Nov 2001
    Location
    San Clemente, Ca
    Posts
    703

    Default

    lsattr /usr/bin/php
    lsattr /usr/local/apache/libexec/libphp4.so

    show me what those return. Also at the very end of the buildapache.sea what does it say. Paste the last 4 or 5 lines for me.
    Shaun Reitan
    NDCHost.com - cPlicensing.net - ProVPS.com
    Contact us for your cPanel Licensing needs! We Price Match, We provide Support, We take care of our customers!

  7. #7
    Member
    Join Date
    Feb 2002
    Posts
    74

    Default

    lsattr /usr/bin/php
    outputs:
    -------------- /usr/bin/php

    lsattr /usr/local/apache/libexec/libphp4.so
    outputs:
    -------------- /usr/local/apache/libexec/libphp4.so

    I cannot remember what the last 4-5 lines of the buildapache.sea are, and do not want to run that thing right now. I will run it a little later when the load declines and post the results. Please let me know if the above tells you anything!

    Thanks for your help!

  8. #8
    Member
    Join Date
    Aug 2001
    Posts
    421
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    This happened to me before -- I had one machine that had problems with curl so the php installation died when it got to that point -- some sort of failed dependency error.

  9. #9
    itf
    itf is offline
    Member
    Join Date
    May 2002
    Posts
    626

    Default

    it's better to reinstall glibc then reinstall buildapache.sea it should solve the problem
    First query which packages are installed by this command

    rpm -qa | grep 'glibc'

    in a sample RH 7.3 box it shows:
    glibc-2.2.5-34
    glibc-common-2.2.5-34
    glibc-devel-2.2.5-34
    glibc-kernheaders-2.4-7.14

    Download and copy the latest version of above packages in a same folder

    Use this command to reinstall packages and all of its dependencies

    rpm -Uvh --replacepkgs glibc*.rpm
    Please use messengers to contact me:
    MSN: patrickay@msn.com
    AIM: PatrickITF

  10. #10
    Member
    Join Date
    Feb 2002
    Posts
    74

    Default

    I've got:
    glibc-common-2.2.4-24
    glibc-2.2.4-24
    glibc-devel-2.2.4-24

    Should I download these three and reinstall them, or should I try to get the latest version 2.2.5-34 ? This is a redhat 7.1 box. And should I get the glibc-kernheaders-2.4-7.14? It is not currently on the box.

    Thanks!

  11. #11
    itf
    itf is offline
    Member
    Join Date
    May 2002
    Posts
    626

    Default

    [quote:2e179a6c26][i:2e179a6c26]Originally posted by mpope2[/i:2e179a6c26]


    I've got:
    glibc-common-2.2.4-24
    glibc-2.2.4-24
    glibc-devel-2.2.4-24

    Should I download these three and reinstall them, or should I try to get the latest version 2.2.5-34 ? This is a redhat 7.1 box. And should I get the glibc-kernheaders-2.4-7.14? It is not currently on the box.

    Thanks![/quote:2e179a6c26]
    use this command and the result will be those packages that you should get and reinstall for your current Redhat

    rpm -qa | grep 'glibc'

    cpanel automaticly updates glibc to the latest version the latest version for RedHat 7.1 is glibc-2.2.4-24
    no you should not install glibc-kernheaders in RedHat 7.1

    then use this command

    rpm -Uvh --replacepkgs glibc*.rpm
    Please use messengers to contact me:
    MSN: patrickay@msn.com
    AIM: PatrickITF

  12. #12
    Member
    Join Date
    Feb 2002
    Posts
    74

    Default

    Re-installed glibc rpm's, re-installed buildapache.sea , stopped httpd, started httpd,

    php -v: 4.0.4pl1

    Didn't work, so here are the last 4-5 lines of buildapache.sea:


    checking for pam_start in -lpam... yes
    checking for crypt in -lcrypt... (cached) yes
    configure: error: This c-client library is build with SSL support.

    Add --with-imap-ssl&=DIR& to your configure line. Check config.log for details.
    make: *** No targets specified and no makefile found. Stop.
    make: *** No rule to make target `install'. Stop.

    Any ideas?

  13. #13
    itf
    itf is offline
    Member
    Join Date
    May 2002
    Posts
    626

    Default

    [quote:d067af4e42][i:d067af4e42]Originally posted by mpope2[/i:d067af4e42]

    Re-installed glibc rpm's, re-installed buildapache.sea , stopped httpd, started httpd,

    php -v: 4.0.4pl1

    Didn't work, so here are the last 4-5 lines of buildapache.sea:


    checking for pam_start in -lpam... yes
    checking for crypt in -lcrypt... (cached) yes
    configure: error: This c-client library is build with SSL support.

    Add --with-imap-ssl&=DIR& to your configure line. Check config.log for details.
    make: *** No targets specified and no makefile found. Stop.
    make: *** No rule to make target `install'. Stop.

    Any ideas?

    [/quote:d067af4e42]
    Which options did you select during installation 1) Beginner or 2) Advanced?
    Please use messengers to contact me:
    MSN: patrickay@msn.com
    AIM: PatrickITF

  14. #14
    Member
    Join Date
    Feb 2002
    Posts
    74

    Default

    Tried it on beginner twice, did not select any options (there were none to select). Reinstalled the glibc libraries, then did it once in advanced mode, when the menu came up, I did not change any of the options. (There wer some preselected, etc.)

    Thanks!

  15. #15
    cPanel Partner NOC This forum account has been confirmed by cPanel staff to represent a vendor.cPanel Partner NOC Badge
    Join Date
    Nov 2001
    Location
    San Clemente, Ca
    Posts
    703

    Default

    if you want, send me your logons and ip i will take a lock

    shaun.murphy@ochosting.com
    Shaun Reitan
    NDCHost.com - cPlicensing.net - ProVPS.com
    Contact us for your cPanel Licensing needs! We Price Match, We provide Support, We take care of our customers!

Similar Threads & Tags
Similar threads

  1. tips upgrading buildapache.sea
    By wozza in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 10-19-2002, 01:20 PM
  2. BuildApache.sea HELP!!
    By oSM in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 07-13-2002, 07:25 AM
  3. Buildapache.sea 17th June upgrading problem in RH 7.3
    By mikerayner in forum cPanel and WHM Discussions
    Replies: 32
    Last Post: 06-28-2002, 03:41 AM
  4. Buildapache.sea 17th June upgrading problem in RH 7.3
    By mikerayner in forum cPanel and WHM Discussions
    Replies: 11
    Last Post: 06-22-2002, 06:23 AM
  5. libcurl problem with PHP build in buildapache.sea
    By brianteeter in forum cPanel and WHM Discussions
    Replies: 10
    Last Post: 05-16-2002, 01:20 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube