any problems with PHP 8.3 and later?

Started by venty, December 05, 2025, 07:30:41 AM

Previous topic - Next topic

venty

Hi,

with CWP, version 0.9.8.1219 and AlmaLinux release 9.7 (Moss Jungle Cat), what is the recommended version of PHP to use and are there any problems with PHP 8.3 and later?

Thanks in advance!

BR
Venty

Starburst

Besides 0.9.8.1219 is now 3 versions behind the official again.
The current version of 8.3.28, and CWP is stuck at 8.3.25.

You could manually upgrade to the current 8.3, 8.4 and/or 8.5, there are guides on AlphaGNU.

venty

Hi,

as I already said, I am with CWP, version 0.9.8.1219 and AlmaLinux release 9.7 (Moss Jungle Cat)...

The active version of WordPress is 6.9 and I saw that the recommendation is to use PHP 8.3 or greater, in this case what is recommended to do and/or which instruction should I use to raise the PHP version to the required one?

Thanks in advance!


BR
Venty

Starburst

Just use PHP switcher, and select 8.3.25 with the modules you need/want.

WP 6.9 works fine with it.

venty

Quote from: Starburst on December 07, 2025, 07:56:40 PM
Just use PHP switcher, and select 8.3.25 with the modules you need/want.

WP 6.9 works fine with it.

Hi,

thank you very much for the answer...
Yes, this is the standard compilation of 8.3, but as far as I remember, something extra had to be done, something had to be added to some file and something else, were there instructions for that, please...

BR
Venty



Starburst

If you enable ionCube, PHP will give an error
QuoteCannot load the ionCube PHP Loader – it was built with configuration API420220829,NTS, whereas running engine is API420230831,NTS
So if you need ionCube, you can find the fix at:
https://starburst.help/control-web-panel-cwp/control-web-panel-cwp-admin-tutorials/ioncube-error-after-building-php-8-3-with-cwp-on-almalinux-8-9/

venty

Quote from: Starburst on December 12, 2025, 05:59:37 PM
If you enable ionCube, PHP will give an error
QuoteCannot load the ionCube PHP Loader – it was built with configuration API420220829,NTS, whereas running engine is API420230831,NTS
So if you need ionCube, you can find the fix at:
https://starburst.help/control-web-panel-cwp/control-web-panel-cwp-admin-tutorials/ioncube-error-after-building-php-8-3-with-cwp-on-almalinux-8-9/
Hi,

thank you very much for your reply, I have implemented it and am now using New ionCube Loaders for PHP - 15.0.0 ....

When running the php -v command, it now returns me:

https://prnt.sc/ENfgxbafs75_

What to do and clear these errors...

BR
Venty

Starburst

I'm only familiar with MariaDB, not MongoDB.

venty

Quote from: Starburst on December 14, 2025, 03:11:18 PM
I'm only familiar with MariaDB, not MongoDB.

Ok, and someone familiar with MongoDB :)

overseer

QuoteUpdate the MongoDB PHP Driver
Often, this warning appears because of older versions of the mongodb extension or library. Ensure you are using the latest version of both:
Extension: Update via PECL:
pecl upgrade mongodb
Library: Update via Composer:
composer update mongodb/mongodb

venty

#10
Quote from: overseer on December 14, 2025, 05:52:08 PM
QuoteUpdate the MongoDB PHP Driver
Often, this warning appears because of older versions of the mongodb extension or library. Ensure you are using the latest version of both:
Extension: Update via PECL:
pecl upgrade mongodb
Library: Update via Composer:
composer update mongodb/mongodb

HI,

I did it, but...:

[root@hosting ~]# pecl upgrade mongodb
WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update
pecl/mongodb requires PHP (version >= 8.1.0, version <= 8.99.99), installed version is 8.0.30
No valid packages found
upgrade failed
[root@hosting ~]# composer update mongodb/mongodb
-bash: composer: command not found


BR
Venty

overseer

That was just general advice -- you know your system and your workflow. Do you want to update the extension via PECL? You need to make sure you have an appropriate version of PHP as your CLI version (8.1 or higher). Forget about Composer if you don't use it to manage your projects. I can't really help from afar with some screenshots of error messages... You really may want to consider a sysadmin helping you tune up your system and getting your environment stable with modern PHP versions and MongoDB for your application...

venty

Hi, 

Thank you very much for the answer, but I have some last questions, please...

1. Is MongoDB a necessary application for WordPress?!?
and

2. if I don't need MongoDB for WordPress, should I compile PHP ver. 8.3.29  with MongoDB or compile it without it!??

Thanks in advance!

BR

Venty

overseer

WP should use MariaDB by default; MongoDB shouldn't be needed except for specialized applications/purposes.