Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Apr 2005
    Posts
    15

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

    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. #2
    Member
    Join Date
    Apr 2005
    Posts
    15

    Default

    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. #3
    Member
    Join Date
    Apr 2005
    Posts
    15

    Default

    Alos i realise that easy apache is not giving me the option to upgrade to php 5

  4. #4
    Member
    Join Date
    Jun 2007
    Posts
    37

    Default Hello

    Hi ,

    check mysql version . php5 does not support less than 4.1.22

  5. #5
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    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.

Similar Threads & Tags
Similar threads

  1. HOW-TO: Apache + phpsuexec + php4 (cgi) + php5 (cgi)
    By ispro in forum cPanel and WHM Discussions
    Replies: 190
    Last Post: 03-26-2008, 01:53 PM
  2. make: *** [sapi/cli/php] Error 1
    By anoop272 in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 08-22-2006, 10:38 AM
  3. make: *** [sapi/cgi/php] Error 1
    By vlee in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-19-2006, 02:37 PM
  4. apache and php cgi
    By Born2Kill in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 02-24-2006, 06:00 PM
  5. Replies: 0
    Last Post: 02-14-2005, 09:49 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube