Author Topic: PHP-FPM Rebuild -PHP upgrade or downgrade always failed rebuild on Rocky Linux 8  (Read 1121 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Hi Guys,


I always encountered PHP-FPM rebuild failed even if its upgrade to the next php release for specific version or downgrade or just any rebuild or install of php install.

checking whether to enable PCRE JIT functionality... yes

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... /usr

checking for zlib version >= 1.2.0.4... 1.2.11

checking for gzgets in -lz... no

configure: error: ZLIB extension requires gzgets in zlib

make: *** No targets specified and no makefile found. Stop.

make: *** No rule to make target 'install'. Stop.

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

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

Last metadata expiration check: 0:01:11 ago on Wed Apr 3 10:46:58 2024.

Package libsodium-1.0.18-2.el8.x86_64 is already installed.

Package libsodium-devel-1.0.18-2.el8.x86_64 is already installed.

Dependencies resolved.

Nothing to do.

Complete!

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

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 55 28505 55 15691 0 0 34259 0 --:--:-- --:--:-- --:--:-- 34259 100 28505 100 28505 0 0 62237 0 --:--:-- --:--:-- --:--:-- 62102

/usr/local/cwpsrv/htdocs/resources/conf/el8/php-fpm_selector/external_modules/7.3/sodium.sh: line 9: /opt/alt/php-fpm73/usr/bin/phpize: No such file or directory

/usr/local/cwpsrv/htdocs/resources/conf/el8/php-fpm_selector/external_modules/7.3/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/el8/php-fpm_selector/external_modules/7.3/sodium.sh: line 14: /opt/alt/php-fpm73/usr/bin/php-config: No such file or directory

ERROR: Missing extension file /sodium.so

Build Completed

###################

Error:Can't add notification!

Offline
*****
Is this a fresh server install or are you invested in it? If starting fresh, the recommendation is AlmaLinux 8. Rocky has historically been rather "rocky" at times...

Offline
*
yes this is fresh install.Can you give me more information about RockLinux Issue on CWP?
do you have any references or links that I can check?

Offline
*****
I'm just giving you a general impression, based on bug/trouble reports here on this forum. Rocky seems to have a rockier track record than AlmaLinux, which is generally smoother.