Recent Posts

Pages: 1 [2] 3 4 ... 10
11
CSF Firewall / Re: Should we update CSF to V15??
« Last post by Starburst on February 06, 2026, 02:19:35 PM »
They are 2 sperate CSF forks.

Hence all the forks have different version numbers now, not a universal one.

Some could use the last CSF v15.00 code, call it CSF2 with v1.0

If you want to switch to the Sentinel  fork, you can.
But from what I read it's aimed more at cPanel.
It also doesn't have the support like the Aetherinox fork does.

But it's all personal preference at this time.
12
CSF Firewall / Re: Should we update CSF to V15??
« Last post by kalybg on February 06, 2026, 09:31:00 AM »
Hello,
I updated CSF Firewall – to v15.08 using these instructions - https://starburst.help/control-web-panel-cwp/control-web-panel-cwp-admin-tutorials/aetherinox-csf-firewall-update-to-v15-08/

I want to ask if it is possible to update to version 15.11 using this source - https://sentinelfirewall.org/docs/upgrade-from-csf/

Greetings,
13
CentOS 9 Problems / Re: mysql update
« Last post by zeejdeej on February 05, 2026, 10:53:18 PM »
thanks for the help highly appreciated.
15
CentOS 9 Problems / mysql update
« Last post by zeejdeej on February 05, 2026, 10:30:15 PM »
hello,

mysql is not updating in almalinux 9.7 automatically from cwp panel? how to get mysql updates automatically within cwp panel?

Regards,

Zee
16
CentOS 9 Problems / Re: ClamAV issue in user panel
« Last post by Starburst on February 05, 2026, 12:23:49 PM »
With AlmaLinux 9, things have to be installed in a certain way.
Including ClamAV.

If not, they will not work.

There is an old install guide running around the forums on the proper way to install AlmaLinux 9 and CWP.
17
PHP / how to install and configure relay extension for php-fpm83 in cwp
« Last post by zeejdeej on February 05, 2026, 11:33:25 AM »
hello,

can someone guide me how to install and configure relay extension for php-fpm83 in cwp for redis cache server. i have already installed redis cache server and its working perfectly fine. just want to install and configure relay extension with the per-requsits json, igbinary, and msgpack ,

i cant find them on php-fpm selector options these extensions.

Regards,

Zee
18
CentOS 9 Problems / Re: ClamAV issue in user panel
« Last post by zeejdeej on February 04, 2026, 04:01:27 PM »
is there a work around now to fix this issue without re-installing complete cwp again ?
19
PHP Selector / Re: Temporary downgrade of CWP pro to free version (emergency!)
« Last post by WISTFUL on February 04, 2026, 06:20:09 AM »
I wouldn't trust AI to be your guiding light.

What do you think about this?!

Background and forum research

Based on a detailed review of the CWP forum (using related topics extracted from searches on forum.centos-webpanel.com), I considered user challenges and real-world experiences, prioritizing senior users such as overseer, studio4host, unlim, pedromidiasf, adamjedgar, and admins.

The main topic (installing alt-php on the Free version without PHP Selector and fixing 503 errors) is covered in threads such as:
• “Temporary downgrade of CWP pro to free version”
• “PHP-FPM Not Working (503 Service Unavailable)”
• “503 Service Unavailable”
• “CWP PHP Selector [CWPpro required]”



Summary of user challenges and experiences

Common challenges:

* 503 errors caused by missing sockets (e.g. `/opt/alt/php-fpmXX/usr/var/sockets/username.sock`), quota/security limits (such as `process limit=0` or low open files), and permission changes on php-fpm executables (e.g. `/opt/alt/php-fpmXX/usr/sbin/php-fpm`) after updates or downgrades.
  Users reported that CWP automatically stops services and changes permissions (logged in `/var/log/cwp/webservers.log`).
* In Free version, PHP Selector is disabled and all sites must use a single fixed PHP version (per-site selector is Pro-only).
* Permission issues: incorrect ownership (e.g. `cwpsrv:cwpsrv` instead of `root:nobody`) causes service failures.
* EOL versions like PHP 7.4 are insecure; senior users (e.g. overseer) recommend upgrading to 8.1 or 8.3 if sites are compatible.
* Without access to global repositories, installing alt-php is harder (local mirror only).

Successful experiences:

* Senior users such as overseer and idugeni strongly recommend creating manual per-user config files in the correct path:
  `/opt/alt/php-fpmXX/usr/etc/php-fpm.d/users/username.conf`
  (not `/etc/php-fpm.d/`).
* Increasing limits via CWP → User Accounts → Edit User:

  * Process limit: minimum 20
  * Open files: minimum 1024
* Recompiling PHP-FPM and rebuilding configs using:
 
Code: [Select]
/usr/local/cwp/php-fpm-rebuild* In Free version, unchecking “Force Apache to use PHP-FPM Selector” in Web Servers Settings to prevent auto-disable.
* Smooth return to Pro if configs follow standard structure; just activate license and enable selector.
* Varnish works in Free but without advanced tuning; simple restart is sufficient.

Warnings:

* Many AI-generated guides are incorrect (e.g. wrong socket ownership).
* Users like carlosES and adamjedgar criticized CWP for lack of warnings during changes and suggested alternatives like ISPConfig; however, for CWP, Pro is inexpensive (~$1.5/month).



Corrections and improvements applied to the guide

The previous guide was generally good but needed adjustments based on real user experience (accurate conf paths, correct ownership, limits, and preference for newer PHP versions).

Recommended fixed version:
• PHP 8.1 (secure and compatible with most sites) if possible
• PHP 7.4 only as a temporary migration option

Returning to Pro works without issues if standard structure is maintained.



Updated steps to resolve the issue (maximum compatibility with CWP)

Before doing anything:
Uncheck “Force Apache to use PHP-FPM Selector” in
CWP → Web Servers Settings → Select Web Servers, then Save/Rebuild to prevent auto-disable.
Take a full backup (same as previous step).



Step 1: Increase user limits (to avoid quota errors)

In CWP → User Accounts → Edit User, for each user:
• Process limit: at least 20
• Open files: at least 1024

Then click Update Webservers and check:
Code: [Select]
/var/log/cwp/webservers.log


Step 2: Install a fixed PHP version (recommended: PHP 8.1)

1. Check installed versions:
   
Code: [Select]
rpm -qa | grep alt-php
2. Install PHP 8.1:
   
Code: [Select]
yum install alt-php81 alt-php81-php-fpm alt-php81-php-cli -y
For PHP 7.4, replace `alt-php81` with `alt-php74`.
If the global repo is unavailable, use a local mirror.



Step 3: Enable and start PHP-FPM
Code: [Select]
systemctl enable --now php-fpm81
systemctl status php-fpm81

If quota-related errors appear, recheck user limits.



Step 4: Create socket directory and set correct ownership (fixed: root:nobody)
Code: [Select]
mkdir -p /opt/alt/php-fpm81/usr/var/sockets
chown root:nobody /opt/alt/php-fpm81/usr/var/sockets
systemctl restart php-fpm81



Step 5: Configure PHP-FPM pool per user (correct path and full settings)

For each user (`username`), create or edit:
Code: [Select]
/opt/alt/php-fpm81/usr/etc/php-fpm.d/users/username.conf
Code: [Select]
[username]
listen = /opt/alt/php-fpm81/usr/var/sockets/username.sock
listen.allowed_clients = 127.0.0.1
listen.owner = username
listen.group = nobody
listen.mode = 0660
user = username
group = username
pm = dynamic
pm.max_children = 5
pm.start_servers = 2
pm.min_spare_servers = 1
pm.max_spare_servers = 3
pm.max_requests = 500
php_admin_value[disable_functions] = passthru,exec,system,popen,proc_open,shell_exec
php_admin_flag[allow_url_fopen] = off
rlimit_files = 131072
rlimit_core = unlimited
catch_workers_output = yes
env[HOSTNAME] = $HOSTNAME
env[TMP] = /home/username/tmp
env[TMPDIR] = /home/username/tmp
env[TEMP] = /home/username/tmp
env[PATH] = /usr/local/bin:/usr/bin:/bin

Then:
Code: [Select]
chown root:nobody /opt/alt/php-fpm81/usr/var/sockets/username.sock
chmod 0660 /opt/alt/php-fpm81/usr/var/sockets/username.sock
systemctl restart php-fpm81



Step 6: Rebuild configs and update web services

Recompile PHP-FPM:
Code: [Select]
/usr/local/cwp/php-fpm-rebuild
Check Nginx vhost (e.g. `/etc/nginx/conf.d/vhosts/username.conf`):
Code: [Select]
fastcgi_pass unix:/opt/alt/php-fpm81/usr/var/sockets/username.sock;
Restart services:
Code: [Select]
systemctl restart php-fpm81 httpd nginx varnish
Run Fix Permissions in CWP for each site (PHP files to 755).



Step 7: Testing and monitoring

• Create `info.php` and test in browser
• Check logs:

* `/var/log/httpd/error_log`
* `/var/log/nginx/error.log`
* `/var/log/cwp/webservers.log`

If 503 persists:
• Verify socket exists:
Code: [Select]
ls /opt/alt/php-fpm81/usr/var/sockets/• Increase limits if needed.



Returning to Pro version

After obtaining a license:

1. Upgrade:
   
Code: [Select]
/usr/local/cwp/upgrade_to_pro   or activate via panel.
2. Enable PHP Selector (in Free all sites used one version; in Pro you can switch per-site safely).
3. Recompile and restart services (same as Step 6).

These changes are fully compatible and safe as long as standard configuration structure is preserved.
20
CentOS 9 Problems / Re: ClamAV issue in user panel
« Last post by overseer on February 04, 2026, 01:57:55 AM »
In earlier posts detailing his adventures installing CWP under AlmaLinux 9, he specifically noted that you have to install ClamAV BEFORE you install CWP:
https://forum.centos-webpanel.com/informations/tested-almalinux-9-4-beta-1-with-cwp-9-beta-0-9-8-1177/msg47238/#msg47238
Pages: 1 [2] 3 4 ... 10