Recent Posts

Pages: 1 ... 7 8 [9] 10
81
CentOS-WebPanel Bugs / Issues with PHP version swither (php_switch_v2)
« Last post by Linux on October 25, 2025, 01:11:03 PM »
Hello!
1. First problem - there is a very PAINFUL process of updating PHP with this "version swither". I lost 4 hours of trying to update PHP from 7.4.33 to at least 3, or 4 versions of PHP - and I still can't update to PHP 8.1.33. I barely updated to php v 8.1.3. It simply doesn't want to update to 8.1.33. No errors. You can check the logs in the bottom of this post.
2. There is an issue with the uploadprogress module after compiling to 8.1.3. Check the errors in the bottom of this post.
3. FIX YOUR FORUM WEBSITE! You have SSL errors in browsers and broken links that have PHPSESSID and cookies in them!
LOGS:
1.
Code: [Select]
Last metadata expiration check: 0:03:19 ago on Sat Oct 25 15:46:39 2025.
Package ImageMagick-6.9.13.25-1.el8.x86_64 is already installed.
Package ImageMagick-devel-6.9.13.25-1.el8.x86_64 is already installed.
Package ImageMagick-perl-6.9.13.25-1.el8.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
Configuring for:
PHP Api Version:         20210902
Zend Module Api No:      20210902
Zend Extension Api No:   420210902
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking for system library directory... lib
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for PHP prefix... /usr/local
checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib
checking for PHP extension directory... /usr/local/lib/php/extensions/no-debug-non-zts-20210902
checking for PHP installed headers prefix... /usr/local/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for gawk... gawk
checking whether to enable the imagick extension... yes, shared
checking for pkg-config... /usr/bin/pkg-config
checking ImageMagick MagickWand API configuration program... checking Testing /usr/local/bin/MagickWand-config... Doesn't exist
checking Testing /usr/bin/MagickWand-config... It exists
found in /usr/bin/MagickWand-config
checking if ImageMagick version is at least 6.5.3... found version 6.9.13-25 Q16
checking for MagickWand.h or magick-wand.h header... user location /usr/include/ImageMagick-6/wand/MagickWand.h
checking PHP version is at least 5.6.0... yes. found 8.1.3
libs
-lMagickWand-6.Q16 -lMagickCore-6.Q16


checking for MagickGetVersion... yes
checking omp_pause_resource_all usability... no
checking for a sed that does not truncate output... /usr/bin/sed
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 1572864
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc static flag -static works... no
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no

creating libtool
appending configuration tag "CXX" to libtool
configure: patching config.h.in
configure: creating ./config.status
config.status: creating config.h
find . -name \*.gcno -o -name \*.gcda | xargs rm -f
find . -name \*.lo -o -name \*.o -o -name \*.dep | xargs rm -f
find . -name \*.la -o -name \*.a | xargs rm -f
find . -name \*.so | xargs rm -f
find . -name .libs -a -type d|xargs rm -rf
rm -f libphp.la      modules/* libs/*
rm -f ext/opcache/jit/zend_jit_x86.c
rm -f ext/opcache/jit/zend_jit_arm64.c
/bin/sh /usr/local/src/imagick/libtool --mode=compile cc -I. -I/usr/local/src/imagick -I/usr/local/src/imagick/include -I/usr/local/src/imagick/main -I/usr/local/src/imagick -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/include/ImageMagick-6  -DHAVE_CONFIG_H  -g -O2   -I/usr/include/ImageMagick-6 -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16  -DZEND_COMPILE_DL_EXT=1 -c /usr/local/src/imagick/imagick_file.c -o imagick_file.lo  -MMD -MF imagick_file.dep -MT imagick_file.lo
mkdir .libs
 cc -I. -I/usr/local/src/imagick -I/usr/local/src/imagick/include -I/usr/local/src/imagick/main -I/usr/local/src/imagick -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/include/ImageMagick-6 -DHAVE_CONFIG_H -g -O2 -I/usr/include/ImageMagick-6 -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -DZEND_COMPILE_DL_EXT=1 -c /usr/local/src/imagick/imagick_file.c -MMD -MF imagick_file.dep -MT imagick_file.lo  -fPIC -DPIC -o .libs/imagick_file.o
/bin/sh /usr/local/src/imagick/libtool --mode=compile cc -I. -I/usr/local/src/imagick -I/usr/local/src/imagick/include -I/usr/local/src/imagick/main -I/usr/local/src/imagick -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/include/ImageMagick-6  -DHAVE_CONFIG_H  -g -O2   -I/usr/include/ImageMagick-6 -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16  -DZEND_COMPILE_DL_EXT=1 -c /usr/local/src/imagick/imagick_class.c -o imagick_class.lo  -MMD -MF imagick_class.dep -MT imagick_class.lo
 cc -I. -I/usr/local/src/imagick -I/usr/local/src/imagick/include -I/usr/local/src/imagick/main -I/usr/local/src/imagick -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/include/ImageMagick-6 -DHAVE_CONFIG_H -g -O2 -I/usr/include/ImageMagick-6 -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -DZEND_COMPILE_DL_EXT=1 -c /usr/local/src/imagick/imagick_class.c -MMD -MF imagick_class.dep -MT imagick_class.lo  -fPIC -DPIC -o .libs/imagick_class.o
/bin/sh /usr/local/src/imagick/libtool --mode=compile cc -I. -I/usr/local/src/imagick -I/usr/local/src/imagick/include -I/usr/local/src/imagick/main -I/usr/local/src/imagick -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/include/ImageMagick-6  -DHAVE_CONFIG_H  -g -O2   -I/usr/include/ImageMagick-6 -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16  -DZEND_COMPILE_DL_EXT=1 -c /usr/local/src/imagick/imagickdraw_class.c -o imagickdraw_class.lo  -MMD -MF imagickdraw_class.dep -MT imagickdraw_class.lo
TEXT TRIMMED HERE. Max 20k characters.

2.
Code: [Select]
PHP Warning:  PHP Startup: uploadprogress: Unable to initialize module Module compiled with module API=20190902 PHP    compiled with module API=20210902 These options need to match in Unknown on line 0
82
Installation / Re: Problems installing CWP 8 with MariaDB
« Last post by Wonder on October 25, 2025, 11:57:05 AM »
What is failing is cwp-http and cwp-suphp, not only MariaDB.

The tow cwp- files are what's causing the installer to crash, which means for some reason that server isn't talking to the cwp server.

Is this server behind a NAT?
Any firewalls that may be blocking?

Nothing, no NAT, no firewall, nothing, it's a clean install of AlmaLinux 8.

The "official" CWP installer works, but your updater is failing. I don't know why... but it's very, very strange.....

I'll try again later. Maybe I didn't let AlmaLinux update enough time after installing it, and it happened when I was doing something... that's the only thing I can think of, but even so... it's very strange to me...
83
Installation / Re: Problems installing CWP 8 with MariaDB
« Last post by Starburst on October 25, 2025, 10:57:24 AM »
What is failing is cwp-http and cwp-suphp, not only MariaDB.

The tow cwp- files are what's causing the installer to crash, which means for some reason that server isn't talking to the cwp server.

Is this server behind a NAT?
Any firewalls that may be blocking?
84
Installation / Re: Problems installing CWP 8 with MariaDB
« Last post by Wonder on October 25, 2025, 04:49:06 AM »
Your running some commands not in the KB.
No, I don't run any commands, I simply install AlmaLinux, and the next step is to install CWP...

Quote
I see a conflict wit the CWP repo, where it's trying to load from.
Exactly, that's what I think happens... (I'm referring to updating MariaDB using the CWP installer from the "official" CWP repo).

Quote
You add this to cwp.repo below enabled=1
Code: [Select]
exclude=mariadb*
The error you posted, shows the httpd installation failed.
Our updated script only updated MariaDB to install 10.6.
For me, that's not possible. As I mentioned, I do a clean install of AlmaLinux, and the next step is to install CWP using your updated installer. I can't modify any repo because it's not installed; it doesn't install CWP.
Updated: But I've tried what you say below, just before restarting after installing CWP, and the result is the same error: it doesn't allow it.
For me, the only solution is to disable the CWP repo at the MariaDB update point, and then re-enable it.

Quote
Quote
Last metadata expiration check: 0:01:52 ago on Fri 24 Oct 2025 09:58:48 PM CEST.
No match for argument: cwp-httpd
Error: Unable to find a match: cwp-httpd
Last metadata expiration check: 0:01:56 ago on Fri 24 Oct 2025 09:58:48 PM CEST.
No match for argument: cwp-suphp
Error: Unable to find a match: cwp-suphp

Compiler requires 512 MB RAM + SWAP
Installation FAILED at httpd

Try to just use the CWP install script, and before you reboot complete the MariaDB 10.11 update.
Do you mean using the instructions above to update MariaDB (https://www.alphagnu.com/topic/23-upgrade-mariadb-1011-in-cwp-centos-7-centos-8-stream-almalinux-78-rockylinux-78/#comment-25)?

Quote
Note, the OS should be a base install, Without LAMP installed.
Correct, I don't have LAMP installed; it's a clean AlmaLinux installation.

PS: Sorry my poor english
85
PHP / Re: When will PHP 8.4 be released in CWP?
« Last post by djprmf on October 24, 2025, 10:23:38 PM »
So... when will PHP 8.4 be released in CWP? :)

Yes
86
PHP / Re: When will PHP 8.4 be released in CWP?
« Last post by overseer on October 24, 2025, 09:35:47 PM »
Your point then is: is OK, they are working to continue support CentOS 7 (that is EOL), and CentOS 8 (that is also EOL)... and now working to CentOS 9. At this point, we can expect support to CentOS Stream 9 when he reaches the EOL date in 2027...
I think the crux of the issue is that you are likely not a native English speaker and are missing some of the nuances of what we are writing. I chose my words very carefully. CentOS Stream 8 was the initial direction CWP was going in as the CentOS 7 EOL was approaching and so they created the delayed repositories. Then AlmaLinux and Rocky Linux 8 released and proved to be viable (and indeed BETTER than CentOS Stream) and so CWP pivoted to supporting and recommending those true EL8 distributions. Indeed, AlmaLinux 8 is now their recommended current stable base OS. I never said anything about CentOS Stream 9 because to me it is a no-trick pony -- a beta quality OS that has no business being the foundation for a server -- so it is irrelevant. True Enterprise Linux 9 releases (especially AlmaLinux 9) is what CWP is targeting and is currently in beta for. All of that do-si-do was caused by Red Hat and ate up quite a bit of time & developer resources (both for the binary compatible EL releases and CWP) until the landscape settled out to what it is today.
87
PHP / Re: When will PHP 8.4 be released in CWP?
« Last post by Starburst on October 24, 2025, 09:03:17 PM »
Hello,

When can we expect PHP 8.4 to be available in CWP? I couldn't find an answer in the forum itself!

Best regards,
cHAp

That is NOT your screenname cpanel envangelist, unless you are opening multiple profiles just to troll...

You know so much, answer that users question, and not with another troll post...
88
Installation / Re: Problems installing CWP 8 with MariaDB
« Last post by Starburst on October 24, 2025, 08:57:55 PM »
Your running some commands not in the KB.

I see a conflict wit the CWP repo, where it's trying to load from.

You add this to cwp.repo below enabled=1
Code: [Select]
exclude=mariadb*
The error you posted, shows the httpd installation failed.
Our updated script only updated MariaDB to install 10.6.

Quote
Last metadata expiration check: 0:01:52 ago on Fri 24 Oct 2025 09:58:48 PM CEST.
No match for argument: cwp-httpd
Error: Unable to find a match: cwp-httpd
Last metadata expiration check: 0:01:56 ago on Fri 24 Oct 2025 09:58:48 PM CEST.
No match for argument: cwp-suphp
Error: Unable to find a match: cwp-suphp

Compiler requires 512 MB RAM + SWAP
Installation FAILED at httpd

Try to just use the CWP install script, and before you reboot complete the MariaDB 10.11 update.

Note, the OS should be a base install, Without LAMP installed.
89
Installation / Re: Problems installing CWP 8 with MariaDB
« Last post by Wonder on October 24, 2025, 08:45:33 PM »
As they say around here, a promise is a promise.

I performed a clean install of AlmaLinux 8 on a server and tried the @Starburst installer:
https://starburst.help/control-web-panel-cwp/control-web-panel-cwp-install-tutorials/updated-cwp-installer-script-for-almalinux-8-with-mariadb-10-6/
It didn't work.

The server had Almalinux 8 installed and updated; nothing else was installed.

I started the CWP installation and was already seeing some errors. At one point, it stopped. I'll paste the last few lines:

Code: [Select]
Transaction Summary
==============================================================================================================================================================================================
Install  2 Packages

Total download size: 954 k
Installed size: 2.9 M
Downloading Packages:
(1/2): gpm-libs-1.20.7-17.el8.x86_64.rpm                                                                                                                      451 kB/s |  38 kB     00:00   
(2/2): elinks-0.12-0.58.pre6.el8.x86_64.rpm                                                                                                                   3.3 MB/s | 916 kB     00:00   
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                         1.0 MB/s | 954 kB     00:00     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                      1/1
  Installing       : gpm-libs-1.20.7-17.el8.x86_64                                                                                                                                        1/2
  Running scriptlet: gpm-libs-1.20.7-17.el8.x86_64                                                                                                                                        1/2
  Installing       : elinks-0.12-0.58.pre6.el8.x86_64                                                                                                                                     2/2
  Running scriptlet: elinks-0.12-0.58.pre6.el8.x86_64                                                                                                                                     2/2
  Verifying        : gpm-libs-1.20.7-17.el8.x86_64                                                                                                                                        1/2
  Verifying        : elinks-0.12-0.58.pre6.el8.x86_64                                                                                                                                     2/2

Installed:
  elinks-0.12-0.58.pre6.el8.x86_64                                                                gpm-libs-1.20.7-17.el8.x86_64                                                               

Complete!
Last metadata expiration check: 0:01:48 ago on Fri 24 Oct 2025 09:58:48 PM CEST.
Dependencies resolved.
Nothing to do.
Complete!

PREPARING THE SERVER
##########################
Failed to stop firewalld.service: Unit firewalld.service not loaded.
Failed to disable unit: Unit file firewalld.service does not exist.

#############################################
Please wait... installing web server files...
#############################################

Last metadata expiration check: 0:01:52 ago on Fri 24 Oct 2025 09:58:48 PM CEST.
No match for argument: cwp-httpd
Error: Unable to find a match: cwp-httpd
Last metadata expiration check: 0:01:56 ago on Fri 24 Oct 2025 09:58:48 PM CEST.
No match for argument: cwp-suphp
Error: Unable to find a match: cwp-suphp

Compiler requires 512 MB RAM + SWAP
Installation FAILED at httpd
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   899  100   899    0     0   4181      0 --:--:-- --:--:-- --:--:--  4181
sh: line 46: /usr/local/bin/php: No such file or directory
grep: /etc/init.d/httpd: No such file or directory
Received
Please contact CWP support about this issue and include the last few lines from the error:
http://centos-webpanel.com/contact
[root@server src]#

So, for now, a clean install, from what I can see or from my experience, should be done through the CWP installer. We followed the instructions to update MariaDB, but right when we installed MariaDB 10.11 (or 10.6, whichever version you prefer), we deactivated the CWP repo, installed MariaDB, and after it was installed, we reactivated the CWP repo.

By the way, thanks @Starburst for your work here...
90
PHP / Re: When will PHP 8.4 be released in CWP?
« Last post by djprmf on October 24, 2025, 05:05:23 PM »
Dude... You are asking me to answer a question that I make...

Stop being a kid and try increase your ego please with nonsense attacks... You are asking me to answer my own question? And asking for focus when are YOU that are reply with nonsense..

So yes kid, FOCUS!
Pages: 1 ... 7 8 [9] 10
<