Hey when i trying to install php 5.6 i get this error:
Hey when i am trying to install PHP 5.6 or 5.5.
Installation faild.
This is log:
`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 library to use... bundled
checking whether to enable the SQLite3 extension... yes
checking bundled sqlite3 library... yes
checking for ZLIB support... yes
checking if the location of ZLIB install directory is defined... no
checking for zlib version >= 1.2.0.4... 1.2.11
checking for gzgets in -lz... yes
checking whether to enable bc style precision math functions... yes
checking for BZip2 support... no
checking whether to enable calendar conversion support... no
checking whether to enable ctype functions... yes
checking for cURL support... yes
checking for cURL 7.10.5 or greater... libcurl 7.64.0
checking for SSL support in libcurl... yes
checking how to run the C preprocessor... cc -E
checking for openssl support in libcurl... yes
checking openssl/crypto.h usability... yes
checking openssl/crypto.h presence... yes
checking for openssl/crypto.h... yes
checking for gnutls support in libcurl... no
checking for curl_easy_perform in -lcurl... yes
checking for curl_easy_strerror in -lcurl... yes
checking for curl_multi_strerror in -lcurl... yes
checking for QDBM support... no
checking for GDBM support... no
checking for NDBM support... no
checking for TCADB 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 DOM support... yes
checking for xml2-config path... (cached) /usr/bin/xml2-config
checking whether libxml build works... (cached) yes
checking for ENCHANT support... no
checking whether to enable EXIF (metadata from images) support... no
checking for fileinfo 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... yes
checking for the location of libvpx... no
checking for the location of libjpeg... yes
checking for the location of libpng... yes
checking for the location of libXpm... no
checking for FreeType 2... /usr/local/freetype
checking for T1lib support... no
checking whether to enable truetype string function in GD... yes
checking whether to enable JIS-mapped Japanese font support in GD... no
If configure fails try --with-vpx-dir=<DIR>
checking for jpeg_read_header in -ljpeg... yes
checking for png_write_image in -lpng... yes
If configure fails try --with-xpm-dir=<DIR>
checking for fabsf... yes
checking for floorf... yes
checking for GNU gettext support... yes
checking for bindtextdomain in -lintl... no
checking for bindtextdomain in -lc... yes
checking for ngettext in -lc... yes
checking for dngettext in -lc... yes
checking for dcngettext in -lc... yes
checking for bind_textdomain_codeset in -lc... yes
checking for GNU MP support... no
checking for mhash support... yes
checking whether to enable hash support... yes
checking whether byte ordering is bigendian... (cached) no
checking size of short... (cached) 2
checking size of int... (cached) 4
checking size of long... (cached) 8
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 iconv supports //IGNORE... no
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 internationalization support... yes
checking for icu-config... no
checking for location of ICU headers and libraries... not found
configure: error: Unable to detect ICU prefix or no failed. Please verify ICU install prefix and make sure icu-config works.
make: *** No targets specified and no makefile found. Stop.

make: *** No rule to make target 'install'. Stop.
[31mERROR: php-5.6 installation failed.[0m`

    KristianP
    Hi:

    CentOS / RedHat:
    yum install libicu-devel
    Ubuntu/Debian:

    sudo apt-get install libicu-dev

    Try to install PHP after running the above command for your system distribution.

      kaz050457

      The fast install is a rpm package that we created after compiling with the official source package. Omit the compilation process during your installation.

      The compile install will Compile the source package on your server ,the installation is slow but relatively stable

      Same ERROR after it:

      checking for icu-config... no
      checking for location of ICU headers and libraries... not found
      configure: error: Unable to detect ICU prefix or no failed. Please verify ICU install prefix and make sure icu-config works.
      make: *** No targets specified and no makefile found.  Stop.
      make: *** No rule to make target 'install'.  Stop.
      ========================================================
      [31mERROR: php-5.6 installation failed.[0m

        KristianP
        What is the content returned by the dependency installation statement above?
        or running this command and show me the returned content.
        Centos:
        rpm -qa|grep libicu
        Ubuntu/debian:
        dpkg -l

        sudo apt-get install libicu-dev
        Reading package lists... Done
        Building dependency tree
        Reading state information... Done
        libicu-dev is already the newest version (63.1-6).
        0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

         dpkg -l
        Desired=Unknown/Install/Remove/Purge/Hold
        | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
        |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
        ||/ Name                                 Version                     Architectur
        +++-====================================-===========================-===========
        ii  accountsservice                      0.6.50-0ubuntu1             amd64
        ii  acpid                                1:2.0.31-1ubuntu2           amd64
        ii  adduser                              3.118ubuntu1                all
        ii  amd64-microcode                      3.20181128.1ubuntu1         amd64
        ii  apparmor                             2.13.2-9ubuntu6             amd64
        ii  apt                                  1.8.1                       amd64
        ii  apt-utils                            1.8.1                       amd64
        ii  autoconf                             2.69-11                     all
        ii  automake                             1:1.16.1-4ubuntu3           all
        ii  autotools-dev                        20180224.1                  all
        ii  base-files                           10.1ubuntu9                 amd64
        ii  base-passwd                          3.5.46                      amd64
        ii  bash                                 5.0-3ubuntu1.1              amd64
        ii  bash-completion                      1:2.8-1ubuntu1              all
        ii  bind9-host                           1:9.11.5.P1+dfsg-1ubuntu2.4 amd64
        ii  binutils                             2.32-7ubuntu4               amd64
        ii  binutils-common:amd64                2.32-7ubuntu4               amd64
        ii  binutils-x86-64-linux-gnu            2.32-7ubuntu4               amd64
        lines 1-23
          18 days later

          KristianP As you said you already remaked the code to PHP 7.3? How? Did you run PHP 7.3 version?

          Connect with us: πŸ“¨ Telegram πŸ’¬ Discord Email: support@aapanel.com