PHP install problem

Discussion in 'Installation/Configuration' started by SgtM, Apr 7, 2007.

  1. SgtM

    SgtM New Member

    Hey all. Linux/ISPConfig noob here. I'm installing a Fedora6 web server at home just to play around with and learn. I got the LAMP process down, and now I'm intalling ISPConfig. It gets so far, and then I get this error:

    Code:
    ERROR: The PHP binary coming with ISPConfig does not work properly on your system!  The installation routine stops here!
    
    I've updated everything including PHP. Any ideas on how to fix this?
     
  2. SgtM

    SgtM New Member

  3. SgtM

    SgtM New Member

    So I tried copying the install_ispconfig to the /tmp directory, and then tried to run /tmp/install_ispconfig]#./setup. Here's the failure output:

    Code:
    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!
    [root@server1 install_ispconfig]# df -h
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/mapper/VolGroup00-LogVol00
                           35G  2.9G   31G   9% /
    /dev/hda1              99M   16M   78M  17% /boot
    tmpfs                 252M     0  252M   0% /dev/shm
    
    Any suggestions?
     
  4. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    There must be a error in the compile output before the error messages that you posted. Please post this error message(s).
     
  5. SgtM

    SgtM New Member

    Thanks for the reply Till. It's kinda long, but here's the whole output. I hope this is what you want to see.

    Code:
    General settings
    checking whether to include gcov symbols... no
    checking whether to include debugging symbols... no
    checking layout of installed files... PHP
    checking path to configuration file... /root/ispconfig/php
    checking where to scan for configuration files... DEFAULT
    checking whether to enable safe mode by default... no
    checking for safe mode exec dir... /usr/local/php/bin
    checking whether to enable PHP's own SIGCHLD handler... no
    checking whether to enable magic quotes by default... no
    checking whether to enable runpaths... yes
    checking whether to explicitly link against libgcc... no
    checking whether to enable short tags by default... yes
    checking whether to enable dmalloc... no
    checking whether to enable IPv6 support... yes
    checking how big to make fd sets... using system default
    checking whether to enable versioning... no
    
    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 OpenSSL version... >= 0.9.6
    checking for CRYPTO_free in -lcrypto... yes
    checking for SSL_CTX_set_ssl_version in -lssl... yes
    checking for PCRE support... yes
    checking for ZLIB support... no
    checking if the location of ZLIB install directory is defined... no
    checking whether to enable bc style precision math functions... no
    checking for BZip2 support... no
    checking whether to enable calendar conversion support... no
    checking whether to enable ctype functions... yes
    checking for cURL support... no
    checking if we should use cURL for url streams... no
    checking size of long... (cached) 4
    checking size of int... (cached) 4
    checking for int32_t... yes
    checking for uint32_t... yes
    checking for sys/types.h... (cached) yes
    checking for inttypes.h... (cached) yes
    checking for stdint.h... (cached) yes
    checking for string.h... (cached) yes
    checking for stdlib.h... (cached) yes
    checking for strtoll... yes
    checking for atoll... yes
    checking for strftime... (cached) yes
    checking whether to enable DBA... no
    checking for QDBM support... no
    checking for GDBM support... no
    checking for NDBM support... no
    checking for Berkeley DB4 support... no
    checking for Berkeley DB3 support... no
    checking for Berkeley DB2 support... no
    checking for DB1 support... no
    checking for DBM support... no
    checking for CDB support... no
    checking for INI File support... no
    checking for FlatFile support... no
    checking whether to enable DBA interface... no
    checking whether to enable dbase support... no
    checking whether to enable DOM support... no
    checking whether to enable EXIF (metadata from images) support... no
    checking for FrontBase SQL92 (fbsql) support... no
    checking for FDF support... no
    checking whether to enable input filter support... yes
    checking pcre install prefix... no
    checking whether to enable FTP support... yes
    checking OpenSSL dir for FTP... no
    checking for OpenSSL version... >= 0.9.6
    checking for CRYPTO_free in -lcrypto... (cached) yes
    checking for SSL_CTX_set_ssl_version in -lssl... (cached) yes
    checking for GD support... no
    checking for the location of libjpeg... no
    checking for the location of libpng... no
    checking for the location of libXpm... no
    checking for FreeType 1.x support... no
    checking for FreeType 2... no
    checking for T1lib support... no
    checking whether to enable truetype string function in GD... no
    checking whether to enable JIS-mapped Japanese font support in GD... no
    checking for GNU gettext support... no
    checking for GNU MP support... no
    checking whether to enable hash support... yes
    checking whether byte ordering is bigendian... (cached) no
    checking size of short... 2
    checking size of int... (cached) 4
    checking size of long... (cached) 4
    checking size of long long... (cached) 8
    checking for iconv support... yes
    checking for iconv... yes
    checking if iconv is glibc's... yes
    checking if iconv supports errno... yes
    checking if your cpp allows macro usage in include lines... yes
    checking for IMAP support... no
    checking for IMAP Kerberos support... no
    checking for IMAP SSL support... no
    checking for InterBase support... no
    checking whether to enable JavaScript Object Serialization support... yes
    checking for ANSI C header files... (cached) yes
    checking for LDAP support... no
    checking for LDAP Cyrus SASL support... no
    checking whether to enable multibyte string support... yes
    checking whether to enable multibyte regex support... yes
    checking whether to check multibyte regex backtrack... yes
    checking for external libmbfl... no
    checking for variable length prototypes and stdarg.h... yes
    checking for stdlib.h... (cached) yes
    checking for string.h... (cached) yes
    checking for strings.h... yes
    checking for unistd.h... (cached) yes
    checking for sys/time.h... (cached) yes
    checking for sys/times.h... yes
    checking size of int... (cached) 4
    checking size of short... (cached) 2
    checking size of long... (cached) 4
    checking for working const... (cached) yes
    checking whether time.h and sys/time.h may both be included... yes
    checking for working alloca.h... (cached) yes
    checking for alloca... (cached) yes
    checking for 8-bit clean memcmp... yes
    checking for mcrypt support... no
    checking for mhash support... no
    checking whether to include mime_magic support... no
    checking for MING support... no
    checking for mSQL support... no
    checking for MSSQL support via FreeTDS... no
    checking for MySQL support... yes
    checking for specified location of the MySQL UNIX socket... no
    checking for MySQL UNIX socket location... no
    configure: error: Cannot find MySQL header files under /usr.
    Note that the MySQL client library is not bundled anymore!
    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!
    [root@server1 install_ispconfig]# df -h
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/mapper/VolGroup00-LogVol00
                           35G  2.9G   31G   9% /
    /dev/hda1              99M   16M   78M  17% /boot
    tmpfs                 252M     0  252M   0% /dev/shm
    [root@server1 install_ispconfig]# yum install openssh
    Loading "installonlyn" plugin
    Setting up Install Process
    Setting up repositories
    core                      100% |=========================| 1.1 kB    00:00     
    extras                    100% |=========================| 1.1 kB    00:00     
    updates                   100% |=========================| 1.2 kB    00:00     
    Reading repository metadata in from local files
    Parsing package install arguments
    Nothing to do
    [root@server1 install_ispconfig]# yum install openssl
    Loading "installonlyn" plugin
    Setting up Install Process
    Setting up repositories
    Reading repository metadata in from local files
    Parsing package install arguments
    Nothing to do
    [root@server1 install_ispconfig]# 
    [root@server1 install_ispconfig]# tar: aps.tar.gz: Cannot open: No such file or directory
    bash: tar:: command not found
    [root@server1 install_ispconfig]# tar: Error is not recoverable: exiting now
    bash: tar:: command not found
    [root@server1 install_ispconfig]# tar: Child returned status 2
    bash: tar:: command not found
    [root@server1 install_ispconfig]# tar: Error exit delayed from previous errors
    bash: tar:: command not found
    [root@server1 install_ispconfig]# ./setup2: line 860: ispconfig_tmp/php/bin/php: No such file or directory
    bash: ./setup2:: No such file or directory
    [root@server1 install_ispconfig]# ERROR: The PHP binary coming with ISPConfig does not work properly on your system! The installation routine stops here!
    bash: ERROR:: command not found
    
     
  6. SgtM

    SgtM New Member

    results of df -h:

    Code:
    [root@server1 install_ispconfig]# df -h
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/mapper/VolGroup00-LogVol00
                           35G  3.0G   31G   9% /
    /dev/hda1              99M   16M   78M  17% /boot
    tmpfs                 252M     0  252M   0% /dev/shm
    [root@server1 install_ispconfig]# cd 
    [root@server1 ~]# df -h
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/mapper/VolGroup00-LogVol00
                           35G  3.0G   31G   9% /
    /dev/hda1              99M   16M   78M  17% /boot
    tmpfs                 252M     0  252M   0% /dev/shm
    [root@server1 ~]# 
    
     
  7. SgtM

    SgtM New Member

    Got it sorted out. The was problem mysql. ISPConfig is now running. Now to start playing around.
     

Share This Page