Could not configure PHP ?

Discussion in 'Installation/Configuration' started by Hacken, Mar 20, 2007.

  1. Hacken

    Hacken New Member

    Hi,

    I try to install ISPConfig on Debian 3.1. Impossible to finish the installation, I always have this error.

    Code:
    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 DSA_get_default_method in -lssl... no
    checking for pkg-config... no
    configure: error: Cannot find OpenSSL's <evp.h>
    ERROR: Could not configure PHP
    cd: could not get current directory: getcwd: cannot access parent directories: No such file or directory
    cd: could not get current directory: getcwd: cannot access parent directories: No such file or directory
    job-working-directory: could not get 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
    job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
    mv: cannot stat `binaries/uudeview.tar.gz': No such file or directory
    job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
    mv: cannot stat `binaries/clamav.tar.gz': No such file or directory
    job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
    mv: cannot stat `binaries/cronolog': No such file or directory
    job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
    mv: cannot stat `binaries/cronosplit': No such file or directory
    job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
    mv: cannot stat `binaries/ispconfig_tcpserver': No such file or directory
    job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
    mv: cannot stat `binaries/zip': No such file or directory
    job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
    mv: cannot stat `binaries/unzip': No such file or directory
    job-working-directory: could not get current directory: getcwd: cannot access parent directories: 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
    job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
    mv: cannot stat `spamassassin': No such file or directory
    job-working-directory: could not get current directory: getcwd: cannot access parent directories: 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
    job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
    mv: cannot stat `uudeview': No such file or directory
    job-working-directory: could not get current directory: getcwd: cannot access parent directories: 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
    job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
    mv: cannot stat `clamav': No such file or directory
    job-working-directory: could not get current directory: getcwd: cannot access parent directories: 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
    job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
    ./setup2: line 860: ispconfig_tmp/php/bin/php: No such file or directory
    job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
    ERROR: The PHP binary coming with ISPConfig does not work properly on your system! The installation routine stops here!
    job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
    I tested reinstall PHP and Apache, MySQL etc. but I have always this error.

    Thank you in advance.
     
  2. vogelor

    vogelor ISPConfig Developer ISPConfig Developer

    i am not really sure, if i can help you, i have had a little bit different error.
    in my case the mysql-dev libs are missing.

    so i think what you have to do is to read the perfect setup debian again. have a look at the openssh - part and check, if this package is installed.

    hope, this helps
     
  3. Hacken

    Hacken New Member

    Thank you for your response. But, if I see list of package with dpkg -l openssl has been installed.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Please make sure that openssl-dev is installed, openssl alone is not sufficient.
     
  5. vogelor

    vogelor ISPConfig Developer ISPConfig Developer

    that's what i think too. because a .h (means source-code) file is missing.
     
  6. Hacken

    Hacken New Member

    It's good now, I installed libssl-dev.

    Thank you for your responses.
     

Share This Page