Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Sep 2004
    Posts
    9

    Default php double compile install?

    ok i've been running a server for about a year... been running flawlessly... recently i had the OS upgraded to CentOS 4.1 and added 512mb more memory...(upgraded from RH9)

    the server has been dog slow since it came back up, the first thing i realized was that when they set up my system, they never added a swap partition (yeah... not quite sure what to think about that)

    but one thing i just noticed today when i was recompiling apache is this:

    Code:
    Building Apache Config.....Done
    Downloading and compiling apache+modules....
    
    Verifying archive integrity... All good.
    Uncompressing buildapache.............................................................................................................................
    Verifying compiler and libs....Sync Source: http://httpupdate.cpanel.net/CURRENT/scripts
    Fetching http://httpupdate.cpanel.net/cpanelsync/CURRENT/scripts/.cpanelsync.lock (0)....@69.72.164.151......connected......receiving...100%......Done
    Fetching http://httpupdate.cpanel.net/cpanelsync/CURRENT/scripts/.cpanelsync.bz2 (0)....@69.72.164.151......connected......receiving...34%...68%...100%......Done
    Verifying installation....Using newyum support
    Setting up Install Process
    Setting up Repos
    Reading repository metadata in from local files
    Excluding Packages in global exclude list
    Finished
    Parsing package install arguments
    Nothing to do
    Using newyum support
    Setting up Install Process
    Setting up Repos
    Reading repository metadata in from local files
    Excluding Packages in global exclude list
    Finished
    Parsing package install arguments
    Nothing to do
    Done
    Done
    ********************************
    This is buildapache version 10.4.0
    ********************************
    buildapache configured from Web Host Manager
    Apache configured from Web Host Manager!
    /etc/rc.d/init.d/httpd start: httpd started
    Setting /home permissions to 0711......Done
    Setting permissions for.....xxxxx...xxxxx...xxxxx...xxxxx...xxxxx...xxxxx...xxxxx...xxxxx......Done
    Untarring mod_gzip....Done
    
    make -j 2 mod_gzip-1.3.26.1a....... . . . . . . Done
    
    make mod_gzip-1.3.26.1a...(install).... Done
    
    Untarring curl......Done
    
    configure curl-7.12.0...(--prefix=/usr --without-ssl).... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Done
    
    make -j 2 curl-7.12.0....... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Done
    
    make curl-7.12.0...(install).... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Done
    
    Using newyum support
    Setting up Install Process
    Setting up Repos
    Reading repository metadata in from local files
    Excluding Packages in global exclude list
    Finished
    Parsing package install arguments
    Nothing to do
    Untarring php....Done
    Applying CURL curl_formfree patch
    patching file ext/curl/curl.c
    Hunk #1 succeeded at 584 (offset 39 lines).
    Hunk #2 succeeded at 900 (offset 15 lines).
    
    configure php-4.3.11...(--with-apxs=/usr/local/apache/bin/apxs --with-xml --enable-bcmath --enable-calendar --with-curl --enable-exif --enable-ftp --with-gettext --enable-magic-quotes --with-mysqli --with-mysql=/usr --enable-discard-path --with-pear --enable-sockets --enable-track-vars --with-ttf --with-freetype-dir=/usr --enable-gd-native-ttf --enable-versioning --with-zlib).... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Done
    
    make -j 2 php-4.3.11...(clean).... . Done
    
    make -j 2 php-4.3.11....... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Done
    
    make php-4.3.11...(install).... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Done
    
    /etc/rc.d/init.d/httpd start: httpd started
    
    configure php-4.3.11...(--prefix=/usr --with-xml --enable-bcmath --enable-calendar --with-curl --enable-exif --enable-ftp --with-gettext --enable-magic-quotes --with-mysqli --with-mysql=/usr --enable-discard-path --with-pear --enable-sockets --enable-track-vars --with-ttf --with-freetype-dir=/usr --enable-gd-native-ttf --enable-versioning --with-zlib).... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Done
    
    make -j 2 php-4.3.11...(clean).... . . Done
    
    make -j 2 php-4.3.11....... . . . . . . . . . . . . . . . . . . . . . . .<snip>

    anyone care to explain to me, or how to fix that it's compiling php twice?

  2. #2
    Member linux-image's Avatar
    Join Date
    Jun 2004
    Location
    India
    Posts
    1,185
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    this is quite normal.

  3. #3
    Member
    Join Date
    Aug 2003
    Posts
    32

    Default

    One of the is the CPANEL PHP - to run CPANEL, and the other is for your apache.

  4. #4
    Member
    Join Date
    Sep 2004
    Posts
    9

    Default

    hmm, ok thanks for the info, i guess i just never noticed it before.

  5. #5
    Member Sinewy's Avatar
    Join Date
    May 2004
    Location
    Sydney, Australia
    Posts
    370

    Default

    There is actually 3 versions of php on a cPanel server.

    One resides in /usr/local/cpanel, one in /usr and one in /usr/local.

    The second one is a CGI binary of PHP, the first one is the apache module one.

Similar Threads & Tags
Similar threads

  1. Install, configure and compile PostgreSql
    By cyberventas in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 02-24-2008, 02:36 PM
  2. Install PHP Zip module and zziplib - Compile PHP individually
    By Arvand in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-16-2003, 06:04 PM
  3. How to install and compile php with PDFLib
    By shann in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 04-11-2003, 11:11 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube