FC6 installation error PHP binary does not work properly

Discussion in 'Installation/Configuration' started by cotthemh, Dec 26, 2006.

  1. cotthemh

    cotthemh New Member

    I just followed the guide "how to install a lamp system on FC6". I use a FC 64 server instead of a 32 bit one. A few weeks ago i did the same install on another server and this worked fine, now i do the same on another server and i get an error :
    ./setup2: line 860: ispconfig_tmp/php/bin/php: No such file or directory
    ERROR: The PHP binary coming with ISPConfig does not work properly on your system! The installation routine stops here!

    i did exactly the same in the 2 occasions (the previous installation worked fine), only in the latest installation i updated my system using the automatic update feature of fedora.

    here is the log file :
    Configuring extensions
    checking whether to enable LIBXML support... no
    checking libxml2 install dir... no
    checking for OpenSSL support... yes
    checking for Kerberos support... no
    checking for pkg-config... /usr/bin/pkg-config
    checking for OpenSSL version... >= 0.9.6
    checking for CRYPTO_free in -lcrypto... no
    configure: error: libcrypto not found!
    ERROR: Could not configure PHP
    cd: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
    mv: cannot stat `binaries/aps.tar.gz': No such file or directory
    mv: cannot stat `binaries/spamassassin.tar.gz': No such file or directory
    mv: cannot stat `binaries/uudeview.tar.gz': No such file or directory
    mv: cannot stat `binaries/clamav.tar.gz': No such file or directory
    mv: cannot stat `binaries/cronolog': No such file or directory
    mv: cannot stat `binaries/cronosplit': No such file or directory
    mv: cannot stat `binaries/ispconfig_tcpserver': No such file or directory
    mv: cannot stat `binaries/zip': No such file or directory
    mv: cannot stat `binaries/unzip': No such file or directory
    tar: spamassassin.tar.gz: Cannot open: No such file or directory
    tar: Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error exit delayed from previous errors
    mv: cannot stat `spamassassin': No such file or directory
    tar: uudeview.tar.gz: Cannot open: No such file or directory
    tar: Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error exit delayed from previous errors
    mv: cannot stat `uudeview': No such file or directory
    tar: clamav.tar.gz: Cannot open: No such file or directory
    tar: Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error exit delayed from previous errors
    mv: cannot stat `clamav': No such file or directory
    tar: aps.tar.gz: Cannot open: No such file or directory
    tar: Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error exit delayed from previous errors
    ./setup2: line 860: ispconfig_tmp/php/bin/php: No such file or directory
    ERROR: The PHP binary coming with ISPConfig does not work properly on your system! The installation routine stops here!

    Anyone knows what happened and how to fix this problem, i followed all steps in the guide as specified.

    Many thanks !!!

    Herwig
     
  2. till

    till Super Moderator

    Do you have the openssl and openssl-dev packages installed?
     
  3. cotthemh

    cotthemh New Member

    openssl was installed, and i then installed openssl-devel this seems to do the trick it now goes to the end of the installation procedure,

    many thanks, i've posted a comment on the how-to in order to get this added in the setup, also the library in that setup is wrong :

    vi /usr/lib/sasl2/smtpd.conf

    should be

    vi /usr/lib64/sasl2/smtpd.conf

    For 64 bit systems, i also posted a comment regarding this

    Many thanks for you're help !!!
     
  4. till

    till Super Moderator

    The smtpd.conf file is correct in the howto, as the howto is written for 32Bit systems, for 64Bit systems, the correct location is /usr/lib64/sasl2/smtpd.conf as you posted. Thanks for adding this as comment to the howto :)
     

Share This Page