Author Topic: Cannot update php version  (Read 69 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Cannot update php version
« on: November 19, 2024, 03:50:26 PM »
Hi,
I am using CWPPro
I have tried multiple versions but all fail, i have an older version 5 so need to update, i was hping to update to 8.1 for some of the avif image formats etc.

However i tried lots of versions from 7 upwards and none will complete and update.
Here is an error log of installing 8.1

Any help would be really gratefull.

Install 3 Packages (+48 Dependent packages)
Upgrade ( 2 Dependent packages)

Total download size: 24 M
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
http://centos.mirrors.ovh.net/ftp.centos.org/7/updates/x86_64/Packages/ImageMagick-6.9.10.68-7.el7_9.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://centos.mirrors.ovh.net/ftp.centos.org/7/updates/x86_64/Packages/ImageMagick-devel-6.9.10.68-7.el7_9.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://centos.mirrors.ovh.net/ftp.centos.org/7/updates/x86_64/Packages/ImageMagick-perl-6.9.10.68-7.el7_9.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://centos.mirrors.ovh.net/ftp.centos.org/7/os/x86_64/Packages/OpenEXR-libs-1.7.1-8.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://centos.mirrors.ovh.net/ftp.centos.org/7/os/x86_64/Packages/adobe-mappings-cmap-20171205-3.el7.noarch.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://centos.mirrors.ovh.net/ftp.centos.org/7/os/x86_64/Packages/adobe-mappings-cmap-deprecated-20171205-3.el7.noarch.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://centos.mirrors.ovh.net/ftp.centos.org/7/os/x86_64/Packages/adobe-mappings-pdf-20180407-1.el7.noarch.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://centos.mirrors.ovh.net/ftp.centos.org/7/os/x86_64/Packages/avahi-libs-0.6.31-20.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://centos.mirrors.ovh.net/ftp.centos.org/7/os/x86_64/Packages/bzip2-devel-1.0.6-13.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://centos.mirrors.ovh.net/ftp.centos.org/7/updates/x86_64/Packages/cups-libs-1.6.3-52.el7_9.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://centos.mirrors.ovh.net/ftp.centos.org/7/updates/x86_64/Packages/freetype-devel-2.8-14.el7_9.1.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://centos.mirrors.ovh.net/ftp.centos.org/7/os/x86_64/Packages/ilmbase-1.0.3-7.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://centos.mirrors.ovh.net/ftp.centos.org/7/os/x86_64/Packages/jasper-devel-1.900.1-33.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://centos.mirrors.ovh.net/ftp.centos.org/7/os/x86_64/Packages/lcms2-2.6-3.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://centos.mirrors.ovh.net/ftp.centos.org/7/os/x86_64/Packages/libICE-devel-1.0.9-9.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://centos.mirrors.ovh.net/ftp.centos.org/7/os/x86_64/Packages/libSM-devel-1.2.2-2.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://centos.mirrors.ovh.net/ftp.centos.org/7/updates/x86_64/Packages/libX11-1.6.7-5.el7_9.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://centos.mirrors.ovh.net/ftp.centos.org/7/updates/x86_64/Packages/libX11-common-1.6.7-5.el7_9.noarch.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://centos.mirrors.ovh.net/ftp.centos.org/7/updates/x86_64/Packages/libX11-devel-1.6.7-5.el7_9.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://centos.mirrors.ovh.net/ftp.centos.org/7/os/x86_64/Packages/libXau-devel-1.0.8-2.1.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://centos.mirrors.ovh.net/ftp.centos.org/7/os/x86_64/Packages/libXcursor-1.1.15-1.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://centos.mirrors.ovh.net/ftp.centos.org/7/os/x86_64/Packages/libXext-devel-1.3.3-3.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://centos.mirrors.ovh.net/ftp.centos.org/7/os/x86_64/Packages/libXi-1.7.9-1.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://centos.mirrors.ovh.net/ftp.centos.org/7/os/x86_64/Packages/libXinerama-1.1.3-2.1.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://centos.mirrors.ovh.net/ftp.centos.org/7/os/x86_64/Packages/libXrandr-1.5.1-2.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://centos.mirrors.ovh.net/ftp.centos.org/7/os/x86_64/Packages/libXt-devel-1.1.5-3.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://centos.mirrors.ovh.net/ftp.centos.org/7/os/x86_64/Packages/libXxf86misc-1.0.3-7.1.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://centos.mirrors.ovh.net/ftp.centos.org/7/os/x86_64/Packages/libfontenc-1.1.3-3.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://centos.mirrors.ovh.net/ftp.centos.org/7/os/x86_64/Packages/libgs-9.25-5.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://centos.mirrors.ovh.net/ftp.centos.org/7/os/x86_64/Packages/libgs-devel-9.25-5.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://centos.mirrors.ovh.net/ftp.centos.org/7/os/x86_64/Packages/libjpeg-turbo-devel-1.2.90-8.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://centos.mirrors.ovh.net/ftp.centos.org/7/os/x86_64/Packages/libpaper-1.1.24-9.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://centos.mirrors.ovh.net/ftp.centos.org/7/os/x86_64/Packages/libpng-devel-1.5.13-8.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://centos.mirrors.ovh.net/ftp.centos.org/7/os/x86_64/Packages/libtiff-devel-4.0.3-35.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://centos.mirrors.ovh.net/ftp.centos.org/7/os/x86_64/Packages/libwmf-lite-0.2.8.4-44.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://centos.mirrors.ovh.net/ftp.centos.org/7/os/x86_64/Packages/libxcb-devel-1.13-1.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://centos.mirrors.ovh.net/ftp.centos.org/7/os/x86_64/Packages/openjpeg2-2.3.1-3.el7_7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://centos.mirrors.ovh.net/ftp.centos.org/7/os/x86_64/Packages/urw-base35-bookman-fonts-20170801-10.el7.noarch.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://centos.mirrors.ovh.net/ftp.centos.org/7/os/x86_64/Packages/urw-base35-c059-fonts-20170801-10.el7.noarch.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://centos.mirrors.ovh.net/ftp.centos.org/7/os/x86_64/Packages/urw-base35-d050000l-fonts-20170801-10.el7.noarch.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://centos.mirrors.ovh.net/ftp.centos.org/7/os/x86_64/Packages/urw-base35-fonts-20170801-10.el7.noarch.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://centos.mirrors.ovh.net/ftp.centos.org/7/os/x86_64/Packages/urw-base35-fonts-common-20170801-10.el7.noarch.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://centos.mirrors.ovh.net/ftp.centos.org/7/os/x86_64/Packages/urw-base35-gothic-fonts-20170801-10.el7.noarch.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://centos.mirrors.ovh.net/ftp.centos.org/7/os/x86_64/Packages/urw-base35-nimbus-mono-ps-fonts-20170801-10.el7.noarch.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://centos.mirrors.ovh.net/ftp.centos.org/7/os/x86_64/Packages/urw-base35-nimbus-roman-fonts-20170801-10.el7.noarch.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://centos.mirrors.ovh.net/ftp.centos.org/7/os/x86_64/Packages/urw-base35-nimbus-sans-fonts-20170801-10.el7.noarch.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://centos.mirrors.ovh.net/ftp.centos.org/7/os/x86_64/Packages/urw-base35-p052-fonts-20170801-10.el7.noarch.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://centos.mirrors.ovh.net/ftp.centos.org/7/os/x86_64/Packages/urw-base35-standard-symbols-ps-fonts-20170801-10.el7.noarch.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://centos.mirrors.ovh.net/ftp.centos.org/7/os/x86_64/Packages/urw-base35-z003-fonts-20170801-10.el7.noarch.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://centos.mirrors.ovh.net/ftp.centos.org/7/os/x86_64/Packages/xorg-x11-font-utils-7.5-21.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://centos.mirrors.ovh.net/ftp.centos.org/7/os/x86_64/Packages/xorg-x11-proto-devel-2018.4-1.el7.noarch.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://centos.mirrors.ovh.net/ftp.centos.org/7/os/x86_64/Packages/xorg-x11-server-utils-7.7-20.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://centos.mirrors.ovh.net/ftp.centos.org/7/updates/x86_64/Packages/zlib-devel-1.2.7-21.el7_9.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.


Error downloading packages:
ImageMagick-6.9.10.68-7.el7_9.x86_64: [Errno 256] No more mirrors to try.
libXcursor-1.1.15-1.el7.x86_64: [Errno 256] No more mirrors to try.
libXi-1.7.9-1.el7.x86_64: [Errno 256] No more mirrors to try.
libX11-1.6.7-5.el7_9.x86_64: [Errno 256] No more mirrors to try.
libjpeg-turbo-devel-1.2.90-8.el7.x86_64: [Errno 256] No more mirrors to try.
libwmf-lite-0.2.8.4-44.el7.x86_64: [Errno 256] No more mirrors to try.
libXt-devel-1.1.5-3.el7.x86_64: [Errno 256] No more mirrors to try.
libgs-devel-9.25-5.el7.x86_64: [Errno 256] No more mirrors to try.
xorg-x11-server-utils-7.7-20.el7.x86_64: [Errno 256] No more mirrors to try.
libXext-devel-1.3.3-3.el7.x86_64: [Errno 256] No more mirrors to try.
adobe-mappings-pdf-20180407-1.el7.noarch: [Errno 256] No more mirrors to try.
urw-base35-gothic-fonts-20170801-10.el7.noarch: [Errno 256] No more mirrors to try.
libXrandr-1.5.1-2.el7.x86_64: [Errno 256] No more mirrors to try.
1:xorg-x11-font-utils-7.5-21.el7.x86_64: [Errno 256] No more mirrors to try.
freetype-devel-2.8-14.el7_9.1.x86_64: [Errno 256] No more mirrors to try.
urw-base35-fonts-20170801-10.el7.noarch: [Errno 256] No more mirrors to try.
jasper-devel-1.900.1-33.el7.x86_64: [Errno 256] No more mirrors to try.
avahi-libs-0.6.31-20.el7.x86_64: [Errno 256] No more mirrors to try.
libfontenc-1.1.3-3.el7.x86_64: [Errno 256] No more mirrors to try.
ImageMagick-perl-6.9.10.68-7.el7_9.x86_64: [Errno 256] No more mirrors to try.
bzip2-devel-1.0.6-13.el7.x86_64: [Errno 256] No more mirrors to try.
urw-base35-z003-fonts-20170801-10.el7.noarch: [Errno 256] No more mirrors to try.
openjpeg2-2.3.1-3.el7_7.x86_64: [Errno 256] No more mirrors to try.
libpaper-1.1.24-9.el7.x86_64: [Errno 256] No more mirrors to try.
adobe-mappings-cmap-20171205-3.el7.noarch: [Errno 256] No more mirrors to try.
2:libpng-devel-1.5.13-8.el7.x86_64: [Errno 256] No more mirrors to try.
libXxf86misc-1.0.3-7.1.el7.x86_64: [Errno 256] No more mirrors to try.
libXau-devel-1.0.8-2.1.el7.x86_64: [Errno 256] No more mirrors to try.
urw-base35-bookman-fonts-20170801-10.el7.noarch: [Errno 256] No more mirrors to try.
zlib-devel-1.2.7-21.el7_9.x86_64: [Errno 256] No more mirrors to try.
libICE-devel-1.0.9-9.el7.x86_64: [Errno 256] No more mirrors to try.
urw-base35-c059-fonts-20170801-10.el7.noarch: [Errno 256] No more mirrors to try.
libX11-devel-1.6.7-5.el7_9.x86_64: [Errno 256] No more mirrors to try.
urw-base35-fonts-common-20170801-10.el7.noarch: [Errno 256] No more mirrors to try.
lcms2-2.6-3.el7.x86_64: [Errno 256] No more mirrors to try.
urw-base35-nimbus-mono-ps-fonts-20170801-10.el7.noarch: [Errno 256] No more mirrors to try.
OpenEXR-libs-1.7.1-8.el7.x86_64: [Errno 256] No more mirrors to try.
urw-base35-d050000l-fonts-20170801-10.el7.noarch: [Errno 256] No more mirrors to try.
libxcb-devel-1.13-1.el7.x86_64: [Errno 256] No more mirrors to try.
ImageMagick-devel-6.9.10.68-7.el7_9.x86_64: [Errno 256] No more mirrors to try.
libgs-9.25-5.el7.x86_64: [Errno 256] No more mirrors to try.
libtiff-devel-4.0.3-35.el7.x86_64: [Errno 256] No more mirrors to try.
xorg-x11-proto-devel-2018.4-1.el7.noarch: [Errno 256] No more mirrors to try.
urw-base35-p052-fonts-20170801-10.el7.noarch: [Errno 256] No more mirrors to try.
libXinerama-1.1.3-2.1.el7.x86_64: [Errno 256] No more mirrors to try.
urw-base35-standard-symbols-ps-fonts-20170801-10.el7.noarch: [Errno 256] No more mirrors to try.
urw-base35-nimbus-sans-fonts-20170801-10.el7.noarch: [Errno 256] No more mirrors to try.
libX11-common-1.6.7-5.el7_9.noarch: [Errno 256] No more mirrors to try.
ilmbase-1.0.3-7.el7.x86_64: [Errno 256] No more mirrors to try.
1:cups-libs-1.6.3-52.el7_9.x86_64: [Errno 256] No more mirrors to try.
urw-base35-nimbus-roman-fonts-20170801-10.el7.noarch: [Errno 256] No more mirrors to try.
adobe-mappings-cmap-deprecated-20171205-3.el7.noarch: [Errno 256] No more mirrors to try.
libSM-devel-1.2.2-2.el7.x86_64: [Errno 256] No more mirrors to try.

chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Cloning into 'imagick'...
/usr/local/cwpsrv/htdocs/resources/conf/el7/php_selector/external_modules/8.1/imagick.sh: line 8: /opt/alt/php81/usr/bin/phpize: No such file or directory
ln: failed to create symbolic link '/usr/local/include/ImageMagick': File exists
/usr/local/cwpsrv/htdocs/resources/conf/el7/php_selector/external_modules/8.1/imagick.sh: line 10: ./configure: No such file or directory
cat clean.sh >clean
chmod a+x clean
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_selector/external_modules/8.1/imagick.sh: line 16: /opt/alt/php81/usr/bin/php-config: No such file or directory
ERROR: Missing extension file /imagick.so
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
* epel: mirrors.hostiserver.com
* remi-php81: mirror.netweaver.uk
* remi-safe: mirror.netweaver.uk
http://centos.mirrors.ovh.net/ftp.centos.org/7/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
To address this issue please refer to the below wiki article

https://wiki.centos.org/yum-errors

If above article doesn't help to resolve this issue please use https://bugs.centos.org/.

http://centos.mirrors.ovh.net/ftp.centos.org/7/extras/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://centos.mirrors.ovh.net/ftp.centos.org/7/updates/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
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 48789 0 --:--:-- --:--:-- --:--:-- 48809
/usr/local/cwpsrv/htdocs/resources/conf/el7/php_selector/external_modules/8.1/sodium.sh: line 9: /opt/alt/php81/usr/bin/phpize: No such file or directory
/usr/local/cwpsrv/htdocs/resources/conf/el7/php_selector/external_modules/8.1/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_selector/external_modules/8.1/sodium.sh: line 14: /opt/alt/php81/usr/bin/php-config: No such file or directory
ERROR: Missing extension file /sodium.so

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


Error:Can't add notification!

Offline
*****
Re: Cannot update php version
« Reply #1 on: November 20, 2024, 07:17:08 AM »
Don't know how MANY times this has been posted over and over.
But here is it again...


CENTOS 7 IS DEAD - D-E-A-D, unalive, no longer with us, finished, no longer supported, kaput...

You want to use a PAST EOL OS like CentOS 7, that's fine.

BUT EXPECT ERRORS AND THINGS NOT TO WORK.

RedHat even has Frozen and Archived the repos for CentOS 7. Hence all the 404 Errors.

There was a temporary way to access the archived repos, so you could upgrade to AlmaLinux 8.
But not sure if that is still working.
« Last Edit: November 20, 2024, 07:22:31 AM by Starburst »

Offline
*
Re: Cannot update php version
« Reply #2 on: November 20, 2024, 07:38:34 AM »
Dang, im not a regular user and clearly have not updated my server in quite some time.

What is the best alt to centos, i know stream can work, but is RHEL supported in the longer term, or are there better alternatives ?

I would have no issue in formatting server and installing everything from fresh to move forward.

Does CWP work with these or do i need cpanel or something else ?

Offline
**
Re: Cannot update php version
« Reply #3 on: November 20, 2024, 08:15:05 AM »
Reconfigure yum to retrieve the CentOS packages from the Vault repository:
https://www.nux.ro/Enable_vault_repositories_on_CentOS7/
then do:

Code: [Select]
yum clean all
yum update

but don't expect to get the latest server software.

If it is ok for you to reinstall the server to use some current centos alternative then I recommend to use Almalinux 8 or 9. Almalinux is supported by CWP.

Offline
*****
Re: Cannot update php version
« Reply #4 on: November 20, 2024, 07:02:49 PM »
CWP is alive & well.

The recommended OS now is AlmaLinux 8.

AlmaLinux 9 works as well with CWP, but only works with PHP 7.4.x and higher.