This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
301
PHP / Re: 502 Bad Gateway
« on: March 10, 2022, 06:01:10 AM »
You may need to rebuild your configs after enabling fpm
302
PHP / Re: 502 Bad Gateway
« on: March 10, 2022, 05:26:57 AM »
Please make sure you have a pro license, or any verison of FPM will be disabled automatically. If you do have pro, make sure you start the PHP-FPM service
systemctl start php-fpm74
systemctl enable php-fpm74
systemctl start php-fpm74
systemctl enable php-fpm74
303
CSF Firewall / Re: How to make WireGuard work?
« on: March 10, 2022, 03:32:55 AM »
UDP_IN and UDP_OUT should have port 51194 added to start, then restart the firewall with csf -r
304
PHP / Re: Php mail havent permission to phpmail.log
« on: March 09, 2022, 09:50:27 PM »
As root, do:
touch /usr/local/apache/logs/phpmail.log
See if you get an error
touch /usr/local/apache/logs/phpmail.log
See if you get an error
305
CentOS 7 Problems / Re: 503 Capacity Error
« on: March 09, 2022, 12:48:23 AM »
It could be that PHP-FPM is not running, or one of the services in the chain is not running. Need to know how you have it configured to help you out.
306
CWP API / Re: List Email from Domain.
« on: March 09, 2022, 12:40:26 AM »
The domain can only be tied to one username. And the API only lists email accounts from a selected account. If you have multiple domains on one account, you can filter it after it is returned.
308
PHP / Re: Update issue
« on: March 07, 2022, 06:19:08 AM »
Issue Resolved. Binary had wrong permissions.
309
PHP / Re: Update issue
« on: March 07, 2022, 05:28:00 AM »
the polkit error isn't of concern. see if the sockets exist now. If not, use systemctl status php-fpm73 to see any errors
310
PHP / Re: Update issue
« on: March 07, 2022, 05:17:45 AM »
There are no socket files, because that version of php-fpm is not running. Start it with
systemctl start php-fpm73.service
systemctl start php-fpm73.service
311
PHP / Re: Update issue
« on: March 07, 2022, 04:31:29 AM »
That should be fine, because there should be a socket file in php-fpm73. Ideally, you should not be using the cwpsrv php-fpm, but the client version in /opt/alt/php*
312
PHP / Re: Update issue
« on: March 07, 2022, 01:59:24 AM »
Check the box "Rebuild this domain", and hit save. If it does not change the php-fpm version, then you have hardcoded the PHP version in the template file, and that would need to be undone.
313
Softaculous / Re: How to enable Fantsctico F3 panel
« on: March 04, 2022, 03:32:44 AM »Hi, in the CWP admin panel I don't see any tools to manage Fantsctico F3, but in the user panel I see it's available in the Script Installers section.
When clicking on it it shows error:QuoteYou are not authorized to use this module (fantastico_f3)- Contact Server AdminCould you please let me know how to enable it?
Fantsctico F3 is not a free software. You must purchase it from them, and install it. Details are here: https://netenberg.com/fantastico-installation.html
314
SSL / Re: how to use SSL on shoutcast ports?
« on: March 03, 2022, 08:41:26 PM »
Use Nginx as a proxy:
Apache can also act as a proxy with mod_proxy, but I've never set it up. https://www.digitalocean.com/community/tutorials/how-to-use-apache-http-server-as-reverse-proxy-using-mod_proxy-extension
Code: [Select]
server {
listen <sh ip>:<a port for ssl> ssl;
server_name <radio.yoururl>
ssl_certificate <certificate file>;
ssl_certificate_key <certificate key>;
ssl_session_cache builtin:1000 shared:SSL:10m;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers HIGH:!aNULL:!eNULL:!EXPORT:!CAMELLIA:!DES:!MD5:!PSK:!RC4;
ssl_prefer_server_ciphers on;
location / {
proxy_set_header Host $http_host;
proxy_set_header X-NginX-Proxy true;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://<sh_ip>:<sh_port>;
}
}
Apache can also act as a proxy with mod_proxy, but I've never set it up. https://www.digitalocean.com/community/tutorials/how-to-use-apache-http-server-as-reverse-proxy-using-mod_proxy-extension
315
CentOS 7 Problems / Re: PHP FPM 7.3 Error centOS
« on: March 03, 2022, 03:36:48 AM »
you can safely ignore the polkit error. It's not what's causing your issue.
As to the issue. the cwp-phpfpm is mean for the backend, but if it's working with nginx, I guess you can use it. The frontend servers are supposed to use the php-fpm's installed in /opt/alt
if the socket files are disappearing, then it sounds like those versions are crashing for some reason, and it would need to be investigated further.
As to the issue. the cwp-phpfpm is mean for the backend, but if it's working with nginx, I guess you can use it. The frontend servers are supposed to use the php-fpm's installed in /opt/alt
if the socket files are disappearing, then it sounds like those versions are crashing for some reason, and it would need to be investigated further.