Author Topic: can't install new php version on PHP-FPM  (Read 2115 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
can't install new php version on PHP-FPM
« on: March 07, 2023, 05:22:01 PM »
Hi
can someone tell me why can't i update my php versions, this problem is going on over 5 months.
can't update or install new php versions anymore.
please help me to solve this problem.


« Last Edit: March 07, 2023, 05:23:47 PM by hdview »

Offline
*****
Re: can't install new php version on PHP-FPM
« Reply #1 on: March 08, 2023, 06:59:27 AM »
hi please check the full build log for any errors

Offline
*****
Re: can't install new php version on PHP-FPM
« Reply #2 on: March 09, 2023, 09:10:00 AM »
Further, I would suggest you turn on auto-updates to your PHP versions so you get bug fixes and security updates automatically. Although at this point PHP 7.4 is EOL and I would only ever anticipate a critical hotfix if it came under active exploit -- but even that is highly unlikely.

Offline
*
Re: can't install new php version on PHP-FPM
« Reply #3 on: March 10, 2023, 11:34:39 AM »
hi, i have updated cwp pro, latest updates install already. for some reson can't install new php versions. this is the log please check below.

Quote
extracting: /usr/local/sourceguardian/version 
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
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
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  5  921k    5 49152    0     0  30353      0  0:00:31  0:00:01  0:00:30 30397
  8  921k    8 81920    0     0  31862      0  0:00:29  0:00:02  0:00:27 31887
 26  921k   26  240k    0     0  67262      0  0:00:14  0:00:03  0:00:11 67313
 45  921k   45  416k    0     0  92744      0  0:00:10  0:00:04  0:00:06 92786
 69  921k   69  640k    0     0   114k      0  0:00:08  0:00:05  0:00:03  127k
100  921k  100  921k    0     0   142k      0  0:00:06  0:00:06 --:--:--  179k
/usr/local/cwpsrv/htdocs/resources/conf/el7/php-fpm_selector/external_modules/8.2/mailparse.sh: line 8: /opt/alt/php-fpm82/usr/bin/phpize: No such file or directory
/usr/local/cwpsrv/htdocs/resources/conf/el7/php-fpm_selector/external_modules/8.2/mailparse.sh: line 9: ./configure: No such file or directory
make: *** No targets specified and no makefile found.  Stop.
make: *** No targets specified and no makefile found.  Stop.
/usr/local/cwpsrv/htdocs/resources/conf/el7/php-fpm_selector/external_modules/8.2/mailparse.sh: line 13: /opt/alt/php-fpm82/usr/bin/php-config: No such file or directory
ERROR: Missing extension file /mailparse.so
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: asi-fs-u.contabo.net
Excluding mirror: mirror.sfo12.us.leaseweb.net
 * epel: d2lzkl7pfhq30w.cloudfront.net
 * extras: mirrors.coreix.net
 * remi-safe: rpms.remirepo.net
 * updates: asi-fs-u.contabo.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

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 28505  100 28505    0     0  48634      0 --:--:-- --:--:-- --:--:-- 48726
/usr/local/cwpsrv/htdocs/resources/conf/el7/php-fpm_selector/external_modules/8.2/sodium.sh: line 9: /opt/alt/php-fpm82/usr/bin/phpize: No such file or directory
/usr/local/cwpsrv/htdocs/resources/conf/el7/php-fpm_selector/external_modules/8.2/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/8.2/sodium.sh: line 14: /opt/alt/php-fpm82/usr/bin/php-config: No such file or directory
ERROR: Missing extension file /sodium.so
exe:/opt/alt/php-fpm82/usr/sbin/php-fpm

Build Completed
###################


Notification added

Offline
*
Re: can't install new php version on PHP-FPM
« Reply #4 on: September 26, 2024, 09:23:22 AM »
Do you have any solution for this issue?

Offline
**
Re: can't install new php version on PHP-FPM
« Reply #5 on: September 26, 2024, 09:48:14 AM »
Do you have any solution for this issue?

It looks like the provided build log is incomplete. There are a lot of errors like "No such file or directory".

If you have similar problem then try to build/update PHP and then provide us with your build log.