The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

php -v keep showing 4.4.7 even after i recompile apache as 5.0.4

Discussion in 'EasyApache' started by gundamz, Oct 19, 2007.

  1. gundamz

    gundamz Well-Known Member

    Joined:
    Mar 27, 2002
    Messages:
    245
    Likes Received:
    0
    Trophy Points:
    16
    Hi guys,

    php -v keep showing 4.4.7 even after i recompile apache as 5.0.4 via WHM > Apache Update.

    I am on the following server:

    WHM 11.2.0 cPanel 11.11.0-S16999
    CENTOS Enterprise 5 x86_64 - WHM X v3.1.0

    ----

    Code:
    ./configure [@php-5.0.4]...(--enable-pic --with-libdir=lib64 --prefix=/usr --with-xml --with-mm --enable-bcmath --enable-calendar --with-curl --with-dom --with-dom-xslt --with-dom-exslt --enable-exif --with-swf=/usr/local/flash --enable-ftp --with-gd --with-jpeg-dir=/usr/local --with-png-dir=/usr --with-xpm-dir=/usr/X11R6 --with-gettext --with-imap=/usr/local/imap-2004g --enable-mbstring --enable-mbstr-enc-trans --enable-mbregex --with-mcrypt --with-mhash --enable-magic-quotes --with-mm --with-mysqli --with-mysql=/usr --with-snmp --enable-ucd-snmp-hack --with-openssl --enable-discard-path --with-pear --with-pspell --enable-safe-mode --enable-sockets --enable-track-vars --with-ttf --with-freetype-dir=/usr --enable-gd-native-ttf --enable-versioning --enable-wddx --with-xmlrpc --with-zip --with-zlib).... . . . . . . . . . . . . Done
    
    [COLOR="Red"]configure: error: libXpm.(a|so) not found.[/COLOR]
    
    make [@php-5.0.4]...(-j 8 clean).... Done
    
    make [@php-5.0.4]...(-j 8).... Done
    
    make [@php-5.0.4]...(install).... Done
    
    initfpsuexec: using apache 1.x support
    PHP version file has been updated to 4.4.7
    Adding cPanel default aliases ...disabled scgi-bin since suexec is installed
    Done
    Executing /scripts/postbuildapache (if exists)...Done
    Configuring perl magic....Off
    Configuring php-pear magic....Off
    Configuring ruby magic....Off
    Configuring php-pecl magic....Off
    /etc/rc.d/init.d/httpd start: httpd started
    initfpsuexec: using apache 1.x support
        
    Attempting to restart httpd 	
    
    Waiting for httpd to restart...
    
    httpd started ok
    
    
    
    
    
    Build Complete
    
     
    #1 gundamz, Oct 19, 2007
    Last edited: Oct 19, 2007
  2. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,458
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator

    It's not installing 5.0.4. Rather it's failing early in the process and re-installing/restoring 4.4.7 This is the problem:

    configure: error: libXpm.(a|so) not found.

    It cannot find that library, hence cannot fulfill the requested action.
     
  3. gundamz

    gundamz Well-Known Member

    Joined:
    Mar 27, 2002
    Messages:
    245
    Likes Received:
    0
    Trophy Points:
    16
    I went to omit GD from the list.

    No more libxpm error.

    Now, this is the new error:

    configure: error: Cannot find libmysqlclient under /usr.
    Note that the MySQL client library is not bundled anymore.


    php -v still give:

    PHP 4.4.7 (cli) (built: Oct 18 2007 09:36:32)
    Copyright (c) 1997-2007 The PHP Group
    Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
     
  4. gundamz

    gundamz Well-Known Member

    Joined:
    Mar 27, 2002
    Messages:
    245
    Likes Received:
    0
    Trophy Points:
    16
    How come we couldn't upgrade to php 5 and run into so many problems?
     
  5. katmai

    katmai Well-Known Member

    Joined:
    Mar 13, 2006
    Messages:
    526
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Brno, Czech Republic
    i just upgraded to php 5.2.4 and everything went just fine. strongly suggest you go for 5.2.4

    on a side note:

    yum install libXpm-devel
    yum install libXpm

    then rebuild apache
     
  6. gundamz

    gundamz Well-Known Member

    Joined:
    Mar 27, 2002
    Messages:
    245
    Likes Received:
    0
    Trophy Points:
    16
    i change my upgrade to 5.2.4 and fix the issue..
    look like 5.0.4 doesn't work anymore.
     
Loading...

Share This Page