Error installing ISPConfig "ERROR: Could not configure PHP"

Discussion in 'Installation/Configuration' started by popacio, Feb 28, 2008.

  1. popacio

    popacio New Member

    I followed "The Perfect Server for FEDORA 8" guide and ended blocked up at step 18: installing ISPConfig...

    Needless to say i'm a newbie and tried for several day to find a solution google-ing and searching here on the forum and can't figure it out. I don't understand even where is the problem.
    I would appreciate some help here. And please, pleeease... don't just throw command lines at me (remember, I'm a newbie:( ), but rather try to explain a little what they do. Thank you in advance.

    I use FEDORA 8 x86_64

    Here is the section with the errors:

    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... yes
    checking for pkg-config... /usr/bin/pkg-config
    checking for PCRE support... yes
    checking for ZLIB support... no
    checking if the location of ZLIB install directory is defined... /usr/lib64
    checking for gzgets in -lz... no
    configure: error: ZLIB extension requires zlib >= 1.0.9
    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 873: 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!
    [[email protected] install_ispconfig]#
     
    Last edited: Feb 29, 2008
  2. falko

    falko Super Moderator ISPConfig Developer

    Please install zlib:
    Code:
    yum install zlib
     
  3. popacio

    popacio New Member

    Thank you for replying, but no, it's not that. I've already installed it. Besides, I've seen the error myself and tried that.
    Here is the result:

    [[email protected] ~]# yum install zlib
    Setting up Install Process
    Parsing package install arguments
    Package zlib - 1.2.3-14.fc8.i386 is already installed.
    Package zlib - 1.2.3-14.fc8.x86_64 is already installed.
    Nothing to do
    [[email protected] ~]#
     
  4. falko

    falko Super Moderator ISPConfig Developer

    The zlib version is ok. Then I'm not sure why you get this error... :confused:
     
  5. popacio

    popacio New Member

  6. falko

    falko Super Moderator ISPConfig Developer

    I could imagine that the zlib libraries are located in /usr/lib, but not /usr/lib64, or the other way round.
     
  7. alibaba

    alibaba New Member

    I've exactly the same errors on an Ubuntu lenny...
     
  8. Musty

    Musty New Member

    did you update you Fedoara 8 packages?

    yum update

    It could be that!
     
  9. falko

    falko Super Moderator ISPConfig Developer

    Do you mean Debian Lenny?
    Please try
    Code:
    apt-get install zlib
     
  10. Superman859

    Superman859 New Member

    Hmm, this thread seems like the one I just posted. I'm having the same types of errors but on CentOS4.6 after following that guide step-by-step. Granted, my situation might be a little different as I was doing it in VMWare and never intend to actually put this server live, but I got those errors as well.

    zlib is up to date for me as well. This is on a 32-bit system. I'm not sure where my zlib directories are located. I checked /usr/lib/ but do not see anything that could be them. However, I cannot figure out how to scroll up in this terminal so I can't even see all the files in the directory since they won't fit in one window....
     
  11. rezdragon

    rezdragon New Member

    ok had the same problem


    mv: cannot stat `spamassassin': No such file or directory

    mv: cannot stat `uudeview': No such file or directory

    mv: cannot stat `clamav'

    went back and did a yum install on these 3 files
    yum install spamassassin
    yum install uudeview
    yum install clamav

    then did a yum update

    then re-ran the the ./setup on the
    cd install_ispconfig file and everything went through no problem.
     

Share This Page