31
PHP / Re: any problems with PHP 8.3 and later?
« Last post by Starburst on December 12, 2025, 05:59:37 PM »If you enable ionCube, PHP will give an error
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/
Quote
Cannot load the ionCube PHP Loader – it was built with configuration API420220829,NTS, whereas running engine is API420230831,NTSSo 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/
32
How to / Re: Clear alerts & notifications from CLI?
« Last post by Starburst on December 12, 2025, 05:56:31 PM »Bravo! But if I'm not missing something, wouldn't it be easiest to empty the notifications like so:Code: [Select]echo '[]' > /usr/local/cwpsrv/htdocs/resources/admin/include/libs/notifications/notifications.json
@overseer I like it, simple and quick.
33
How to / Re: Clear alerts & notifications from CLI?
« Last post by Starburst on December 12, 2025, 05:55:32 PM »And here, CWP actual said it could not be done... 

34
PHP / Re: any problems with PHP 8.3 and later?
« Last post by venty on December 11, 2025, 10:01:25 AM »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
35
How to / Re: Clear alerts & notifications from CLI?
« Last post by 6Sense on December 11, 2025, 04:57:00 AM »Yup, works too!
36
How to / Re: Clear alerts & notifications from CLI?
« Last post by overseer on December 11, 2025, 04:30:35 AM »Bravo! But if I'm not missing something, wouldn't it be easiest to empty the notifications like so:
Code: [Select]
echo '[]' > /usr/local/cwpsrv/htdocs/resources/admin/include/libs/notifications/notifications.json37
How to / Re: Clear alerts & notifications from CLI?
« Last post by 6Sense on December 11, 2025, 04:02:52 AM »A python solution is to create the below file called clear_notices.py in /usr/local/cwpsrv/htdocs/resources/admin/include/libs/notifications (when executed it simply replaces the notification data which is stored in an array with an empty array)
You can then run in via the terminal
You can also set up up cron job to run it as often as you wish
Code: [Select]
import json
filename = 'notifications.json'
clear_notifications = []
try:
with open(filename, 'w') as json_file:
json.dump(clear_notifications, json_file, indent=4)
print(f"Successfully edited '{filename}' to be an empty array [].")
except FileNotFoundError:
print(f"Error: The file '{filename}' was not found.")
except Exception as e:
print(f"An error occurred: {e}")You can then run in via the terminal
Code: [Select]
cd /usr/local/cwpsrv/htdocs/resources/admin/include/libs/notifications
python3 clear_notices.pyYou can also set up up cron job to run it as often as you wish
38
How to / Re: Clear alerts & notifications from CLI?
« Last post by 6Sense on December 10, 2025, 10:17:21 AM »The below is the json file you'd need to alter to be an empty array, it houses the notifications. It can't be empty though, must always contain an empty array eg: [] - or the GUI will crash. There are JSON terminal tools like js & sponge etc that can edit the file if your brave. Alernatively you can execute a python script to overwrite the file contents with empty array
/usr/local/cwpsrv/htdocs/resources/admin/include/libs/notifications/notifications.json
/usr/local/cwpsrv/htdocs/resources/admin/include/libs/notifications/notifications.json
39
E-Mail / Re: Roundcube - Connection Error (Failed to reach server)
« Last post by Starburst on December 08, 2025, 02:25:08 PM »Also what version of PHP and OS are you running?
40
Apache / Re: Apache 2.4.66 released on 2025-12-04
« Last post by overseer on December 08, 2025, 02:09:34 PM »Great, thanks!
And on the other side of the tracks, if you need Nginx 1.28 with brotli compression, this guide is a good one:
https://www.alphagnu.com/topic/10-enable-brotli-compression-on-nginx-cwp-and-on-linux-os-for-official-nginx/#comment-12
And on the other side of the tracks, if you need Nginx 1.28 with brotli compression, this guide is a good one:
https://www.alphagnu.com/topic/10-enable-brotli-compression-on-nginx-cwp-and-on-linux-os-for-official-nginx/#comment-12
Recent Posts