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.

make: *** [sapi/cgi/php-cgi] Error 1 on apache update

Discussion in 'EasyApache' started by quicklyweb, Jul 5, 2007.

  1. quicklyweb

    quicklyweb Member

    Joined:
    Apr 24, 2005
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    Today i was trying to upgrade PHP4.x to 5.2.3 so i couldn't be bothered to use/scripts/easyapache so i did it trough whm

    and had following

    ./configure [@php-5.2.3]...(--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-pgsql=/usr --with-pspell --enable-xslt --with-xslt-sablot --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
    make [@php-5.2.3]...(-j 1 clean).... . Done
    make [@php-5.2.3]...(-j 1).... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Done
    make: *** [sapi/cgi/php-cgi] Error 1
    make [@php-5.2.3]...(install).... . . . . . . . . . . . . . . Done
    make: *** [sapi/cgi/php-cgi] Error 1
    initfpsuexec: using apache 1.x support
    PHP version file has been updated to 4.4.7
    ./build all
    ./build install
    initfpsuexec: using apache 1.x support



    Apache seems to run fine but php documents are not recognised
    So i assume PHP did not compile properly

    But i am not sure what todo now.
     
  2. quicklyweb

    quicklyweb Member

    Joined:
    Apr 24, 2005
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    i tried everything but couldm't get system to upgrade PHP 5.2.3. EVerytime i will have to use easy apache to recompile php 4.4.7

    where am i going wrong?
     
  3. quicklyweb

    quicklyweb Member

    Joined:
    Apr 24, 2005
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    Alos i realise that easy apache is not giving me the option to upgrade to php 5
     
  4. sabarishks

    sabarishks Active Member

    Joined:
    Jun 29, 2007
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    Hello

    Hi ,

    check mysql version . php5 does not support less than 4.1.22
     
  5. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Agreed, speaking with customers on the phone it appears the general consensus is that if you're going to use PHP 5, it's generally a good idea to also use MySQL 5.
     

Share This Page