Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

PHP 5 problem and a fantastico problem(unrelated)

Discussion in 'General Discussion' started by Arachn1d, Feb 19, 2006.

  1. Arachn1d

    Arachn1d Member

    Joined:
    Feb 15, 2006
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    151
    I got two problems really.

    1) php5 won't install. httpd breaks each time. I have to manually open httpd.conf and change it back to php4.

    2) Fantastico gives me this error: Parse error: parse error, unexpected ';' in /tmp/cpanel_phpengine.1140342871.192732265.17834308655 on line 102

    I've tried updating / reinstalling fantasico, trying different php engines (ioncube, etc) nothing is working.
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,470
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    1. it would help if you posted the errors you get when starting apache and the output from:

    /usr/bin/php -v

    2. You'll need to get support from the Fantastico developers over at www.netenberg.com
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Arachn1d

    Arachn1d Member

    Joined:
    Feb 15, 2006
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    151
    /etc/init.d/httpd restart
    /etc/init.d/httpd restart: httpd not running, trying to start
    Syntax error on line 237 of /usr/local/apache/conf/httpd.conf:
    Cannot load /usr/local/apache/libexec/libphp5.so into server: /usr/local/apache/libexec/libphp5.so: cannot open shared object file: No such file or directory
    /etc/init.d/httpd restart: httpd could not be started



    /usr/bin/php -v
    PHP 4.3.11 (cgi) (built: Feb 18 2006 03:46:01)
    Copyright (c) 1997-2004 The PHP Group
    Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies

    and fantastico said it was a cpanel problem?
     
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,470
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    That shows that php v5 did not compile. You need to watch the build process more carefully to find out why.

    A fantastico problem is a fantastico problem. If it doesn't work for any reason, it's up to them to tell you exactly what the problem is as it's a third-party application.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Arachn1d

    Arachn1d Member

    Joined:
    Feb 15, 2006
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    151
    Nothing to do
    00:20:12 URL:http://layer1.cpanel.net/buildapache/1/php-5.0.5.tar.gz [6082082/60 82082] -> "php-5.0.5.tar.gz" [1]
    Untarring php....Done
    configure php-5.0.5...(--enable-pic --with-apxs=/usr/local/apache/bin/apxs --pre fix=/usr/local --with-xml --with-mm --enable-bcmath --enable-calendar --with-cur l --with-swf=/usr/local/flash --enable-ftp --with-gd --with-jpeg-dir=/usr/local --with-png-dir=/usr --with-xpm-dir=/usr/X11R6 --enable-mbstring --enable-mbstr-e nc-trans --enable-mbregex --with-mcrypt --with-mhash --with-ming=../ming-0.2a -- enable-magic-quotes --with-mm --with-mysqli --with-mysql=/usr --with-openssl --e nable-discard-path --with-pear --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 --with-zlib).......................Done
    configure: error: Please reinstall ming distribution. libming.(a|so) not found.
    make -j 2 php-5.0.5...(clean)....Done
    Can't open Makefile: No such file or directory.
    make -j 2 php-5.0.5.......Done
    make php-5.0.5...(install)....Done
    Failed loading /usr/local/Zend/lib/ZendExtensionManager.so: /usr/local/Zend/lib /ZendExtensionManager.so: undefined symbol: zend_extensions
    /etc/rc.d/init.d/httpd start: httpd started
    configure php-5.0.5...(--enable-pic --prefix=/usr --with-xml --with-mm --enable- bcmath --enable-calendar --with-curl --with-swf=/usr/local/flash --enable-ftp -- with-gd --with-jpeg-dir=/usr/local --with-png-dir=/usr --with-xpm-dir=/usr/X11R6 --enable-mbstring --enable-mbstr-enc-trans --enable-mbregex --with-mcrypt --wit h-mhash --with-ming=../ming-0.2a --enable-magic-quotes --with-mm --with-mysqli - -with-mysql=/usr --with-openssl --enable-discard-path --with-pear --with-pspell --enable-xslt --with-xslt-sablot --enable-safe-mode --enable-sockets --enable-tr ack-vars --with-ttf --with-freetype-dir=/usr --enable-gd-native-ttf --with-zlib) ......................Done
    configure: error: Please reinstall ming distribution. libming.(a|so) not found.
    make -j 2 php-5.0.5...(clean)....Done
    Can't open Makefile: No such file or directory.
    make -j 2 php-5.0.5.......Done
    make php-5.0.5...(install)....Done
    initfpsuexec: using apache 1.x support
    PHP version file has been updated to 4.3.11
    Executing /scripts/postbuildapache (if exists)...Done
    yntax error on line 237 of /usr/local/apache/conf/httpd.conf:
    Cannot load /usr/local/apache/libexec/libphp5.so into server: /usr/local/apache/libexec/libphp5.so: cannot open shared object file: No such file or directory
    /etc/init.d/httpd restart: httpd could not be started/etc/rc.d/init.d/httpd start: httpd could not be started
    Waiting for httpd to restart..............finished.
     
  6. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,470
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    Yup, I see at least two errors that you need to fix.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. Arachn1d

    Arachn1d Member

    Joined:
    Feb 15, 2006
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    151
    And how would I fix them?
     
  8. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,470
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    That:
    Probably by running:

    /scripts/installzendopt

    This:
    Probably by reinstalling the ming with whichever method you installed it in the first place (or by de/selecting the ming option when building PHP).
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. Arachn1d

    Arachn1d Member

    Joined:
    Feb 15, 2006
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    151
    Thanks I'll try that out
     
  10. Arachn1d

    Arachn1d Member

    Joined:
    Feb 15, 2006
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    151
    Have a new problem


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


    (how do I fix this?)
     
  11. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,470
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    Usually should be fixed with:

    /scripts/mysqlup --force
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice