I use the below command to install CWP
Installer for CentOS 9/stream, Alma Linux 9, and Rocky Linux 9 (beta)
CWP is released for EL9 as a beta, and old PHP versions are removed i.e. only PHP 7.4 to 8.3 are supported.
cd /usr/local/src
wget
http://centos-webpanel.com/cwp-el9-latestsh cwp-el9-latest
Also, I rebuilt webserver at WebServer- Select WebServer, Select Nginx & Apache and rebuild, then Apache was stopped and can not restart, it showed the error as below:
Feb 26 02:33:45 172-00-10-100 systemd[1]: Starting Web server Apache...
Feb 26 02:33:45 172-00-10-100 apachectl[5755]: httpd: Syntax error on line 513 of /usr/local/apache/conf/httpd.conf: Syntax error on line 2 of /usr/local/apache/conf.d/rpaf.conf: Cannot load modules/mod_rpaf.so into server: /usr/local/apache/modules/mod_rpaf.so: cannot open shared object file: No such file or directory
Feb 26 02:33:45 172-00-10-100 systemd[1]: httpd.service: Control process exited, code=exited, status=1/FAILURE
Feb 26 02:33:45 172-00-10-100 systemd[1]: httpd.service: Failed with result 'exit-code'.
Feb 26 02:33:45 172-00-10-100 systemd[1]: Failed to start Web server Apache.
Even if I select Apache Only and rebuild the server, Apache still won't start!