Hi,
I tried to install php 7.4 & 8.1 and failed with the same error message :
...........
checking if iconv is glibc's... yes
checking if iconv supports errno... yes
checking if iconv supports //IGNORE... yes
checking if your cpp allows macro usage in include lines... yes
checking for IMAP support... no
checking for IMAP Kerberos support... yes
checking for IMAP SSL support... no
checking whether to enable internationalization support... yes
checking for icu-uc >= 50.1 icu-io icu-i18n... no
configure: error: Package requirements (icu-uc >= 50.1 icu-io icu-i18n) were not met:
No package 'icu-uc' found
No package 'icu-io' found
No package 'icu-i18n' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables ICU_CFLAGS
and ICU_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
*** There was an error while trying to configure php. Check the configure file
[root@srv custombuild]#
Please keep in mind php 7.3 installed without problem.
I tried ( https://forum.directadmin.com/threads/error-build-php-7-4.59632/ ):
cd /usr/local/directadmin/custombuild
./build update
./build update_versions
./build php n
No success
Failed too :
cd /usr/local/directadmin/custombuild
./build update
./build icu
After that tried :
yum install libicu-devel libicu-doc
and help to continue to next step
Next error was
No package 'libzip' found
No package 'libzip' found
No package 'libzip' found
again
yum install libzip libzip-devel
and stacked again
./build php n
------------
hecking whether to enable zend-test extension... no
checking for zip archive read/write support... yes
checking for libzip >= 0.11 libzip != 1.3.1 libzip != 1.7.0... no
configure: error: Package requirements (libzip >= 0.11 libzip != 1.3.1 libzip != 1.7.0) were not met:
Requested 'libzip >= 0.11' but version of libzip is 0.10.1
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables LIBZIP_CFLAGS
and LIBZIP_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
*** There was an error while trying to configure php. Check the configure file
[root@srv custombuild]#
-----------------
Any idea ?
PHP errors started after my try to switch from nginx_apache to openlitespeed and changed
php from php-fpm to php_mode lsphp for all php
./build update
./build set webserver openlitespeed
./build set mod_ruid2 no
./build set php1_mode lsphp
./build set php2_mode lsphp
./build set php3_mode lsphp
After that crashed php 7.4 & 8.1 and not worked at all
I performed roll back to nginx_apache and php-fpm and working only php 7.3
Versions :
OS : Centos 7 , 3.10.0-1160.53.1.el7.x86_64
[root@srv custombuild]# /usr/local/directadmin/directadmin v
Version: DirectAdmin v.1.642
[root@srv custombuild]#
I tried to install php 7.4 & 8.1 and failed with the same error message :
...........
checking if iconv is glibc's... yes
checking if iconv supports errno... yes
checking if iconv supports //IGNORE... yes
checking if your cpp allows macro usage in include lines... yes
checking for IMAP support... no
checking for IMAP Kerberos support... yes
checking for IMAP SSL support... no
checking whether to enable internationalization support... yes
checking for icu-uc >= 50.1 icu-io icu-i18n... no
configure: error: Package requirements (icu-uc >= 50.1 icu-io icu-i18n) were not met:
No package 'icu-uc' found
No package 'icu-io' found
No package 'icu-i18n' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables ICU_CFLAGS
and ICU_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
*** There was an error while trying to configure php. Check the configure file
[root@srv custombuild]#
Please keep in mind php 7.3 installed without problem.
I tried ( https://forum.directadmin.com/threads/error-build-php-7-4.59632/ ):
cd /usr/local/directadmin/custombuild
./build update
./build update_versions
./build php n
No success
Failed too :
cd /usr/local/directadmin/custombuild
./build update
./build icu
After that tried :
yum install libicu-devel libicu-doc
and help to continue to next step
Next error was
No package 'libzip' found
No package 'libzip' found
No package 'libzip' found
again
yum install libzip libzip-devel
and stacked again
./build php n
------------
hecking whether to enable zend-test extension... no
checking for zip archive read/write support... yes
checking for libzip >= 0.11 libzip != 1.3.1 libzip != 1.7.0... no
configure: error: Package requirements (libzip >= 0.11 libzip != 1.3.1 libzip != 1.7.0) were not met:
Requested 'libzip >= 0.11' but version of libzip is 0.10.1
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables LIBZIP_CFLAGS
and LIBZIP_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
*** There was an error while trying to configure php. Check the configure file
[root@srv custombuild]#
-----------------
Any idea ?
PHP errors started after my try to switch from nginx_apache to openlitespeed and changed
php from php-fpm to php_mode lsphp for all php
./build update
./build set webserver openlitespeed
./build set mod_ruid2 no
./build set php1_mode lsphp
./build set php2_mode lsphp
./build set php3_mode lsphp
After that crashed php 7.4 & 8.1 and not worked at all
I performed roll back to nginx_apache and php-fpm and working only php 7.3
Versions :
OS : Centos 7 , 3.10.0-1160.53.1.el7.x86_64
[root@srv custombuild]# /usr/local/directadmin/directadmin v
Version: DirectAdmin v.1.642
[root@srv custombuild]#
Last edited: