Control Web Panel

WebPanel => PHP => Topic started by: hdview on March 07, 2023, 05:22:01 PM

Title: can't install new php version on PHP-FPM
Post by: hdview 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.
(https://hdview.co.uk/php-e.PNG)
(https://hdview.co.uk/error1.PNG)
(https://hdview.co.uk/error2.PNG)
Title: Re: can't install new php version on PHP-FPM
Post by: Sandeep on March 08, 2023, 06:59:27 AM
hi please check the full build log for any errors
Title: Re: can't install new php version on PHP-FPM
Post by: overseer 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.
Title: Re: can't install new php version on PHP-FPM
Post by: hdview 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