Could not compile/rebuild/install PHP-fpm version above 7.2
System information
CWPpro version: 0.9.8.1099 Centos 7 fresh install 1GB RAM, 1GB SWAP
I have tried two times re-install CWP in fresh system, and didn't change other settings in CWP, I believe isn't the OS problem, hope administrator of CWP have a test to compile PHP-FPM 7.4, I'm sure is 0.9.8.1099 didn't make good codes
tail -f /var/log/php-selector-rebuild.log
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:
No package 'libzip' found
No package 'libzip' found
No package 'libzip' 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 LIBZIP_CFLAGS
and LIBZIP_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
mkdir: cannot create directory '/opt/alt/php-fpm74/usr/var/sockets/': No such file or directory
mkdir: cannot create directory '/opt/alt/php-fpm74/usr/etc/php-fpm.d/': No such file or directory
mkdir: cannot create directory '/opt/alt/php-fpm74/usr/etc/php-fpm.d/users/': No such file or directory
/usr/local/src/php-fpm-7.4.sh: line 99: /opt/alt/php-fpm74/usr/etc/php-fpm.d/users.conf: No such file or directory
/usr/local/src/php-fpm-7.4.sh: line 100: /opt/alt/php-fpm74/usr/etc/php-fpm.conf: No such file or directory
/usr/local/src/php-fpm-7.4.sh: line 102: /opt/alt/php-fpm74/usr/etc/php-fpm.d/cwpsvc.conf: No such file or directory
cp: cannot stat 'sapi/fpm/php-fpm.service': No such file or directory
sed: can't read /usr/lib/systemd/system/php-fpm74.service: No such file or directory
sed: can't read /usr/lib/systemd/system/php-fpm74.service: No such file or directory
Failed to execute operation: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Skipping as php build failed
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Skipping as php build failed
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Skipping as php build failed
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Skipping as php build failed
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.radwebhosting.com
* epel: d2lzkl7pfhq30w.cloudfront.net
* extras: centos.mirror.lstn.net
* updates: la.mirrors.clouvider.net
Package libsodium-1.0.18-1.el7.x86_64 already installed and latest version
Package libsodium-devel-1.0.18-1.el7.x86_64 already installed and latest version
Nothing to do
chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 28505 100 28505 0 0 51252 0 --:--:-- --:--:-- --:--:-- 51267
/usr/local/cwpsrv/htdocs/resources/conf/el7/php-fpm_selector/external_modules/7.4/sodium.sh: line 9: /opt/alt/php-fpm74/usr/bin/phpize: No such file or directory
/usr/local/cwpsrv/htdocs/resources/conf/el7/php-fpm_selector/external_modules/7.4/sodium.sh: line 10: ./configure: No such file or directory
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
/usr/local/cwpsrv/htdocs/resources/conf/el7/php-fpm_selector/external_modules/7.4/sodium.sh: line 14: /opt/alt/php-fpm74/usr/bin/php-config: No such file or directory
ERROR: Missing extension file /sodium.so
exe:/opt/alt/php-fpm74/usr/sbin/php-fpm
Failed to restart php-fpm74.service: Unit not found.
Redirecting to /bin/systemctl restart httpd.service
Build Completed
###################