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.
376
CentOS 7 Problems / Re: Apache PHP-FPM and Nginx PHP-FPM version select was hide
« on: November 21, 2020, 09:30:14 AM »
you need to install php-fpm to be able to use it
377
PHP / Re: php.ini configuration per user
« on: November 21, 2020, 09:27:32 AM »
NGINX + PHP-FPM
configuration files are:
/etc/nginx/conf.d/vhosts/DOMAIN.conf
/etc/nginx/conf.d/vhosts/DOMAIN.ssl.conf
under fastcgi_param add one more line and reload/restart nginx
fastcgi_param PHP_ADMIN_VALUE "open_basedir =/home/USERNAME:/tmp:";
** Note that manual editing of the webserver vhost files is not recommended as those files get rebuilt from the template on each change.
Try checking the instructions here for the custom template build.
http://wiki.centos-webpanel.com/webservers-vhost-templates
APACHE + PHP-FPM
Configuration files are all user existing php-fpm configuration files, to get the list of files you can use this
ls -la /opt/alt/php-fpm*/usr/etc/php-fpm.d/users/USERNAME.conf
Add at the bottom
php_admin_value[open_basedir] = /home/USERNAME:/tmp
** Note that editing any of those files requires to restart php-fpm version you edited.
** Note that manual editing of the webserver vhost files is not recommended as those files get rebuilt from the template on each change.
Try checking the instructions here for the custom template build.
http://wiki.centos-webpanel.com/webservers-vhost-templates
configuration files are:
/etc/nginx/conf.d/vhosts/DOMAIN.conf
/etc/nginx/conf.d/vhosts/DOMAIN.ssl.conf
under fastcgi_param add one more line and reload/restart nginx
fastcgi_param PHP_ADMIN_VALUE "open_basedir =/home/USERNAME:/tmp:";
** Note that manual editing of the webserver vhost files is not recommended as those files get rebuilt from the template on each change.
Try checking the instructions here for the custom template build.
http://wiki.centos-webpanel.com/webservers-vhost-templates
APACHE + PHP-FPM
Configuration files are all user existing php-fpm configuration files, to get the list of files you can use this
ls -la /opt/alt/php-fpm*/usr/etc/php-fpm.d/users/USERNAME.conf
Add at the bottom
php_admin_value[open_basedir] = /home/USERNAME:/tmp
** Note that editing any of those files requires to restart php-fpm version you edited.
** Note that manual editing of the webserver vhost files is not recommended as those files get rebuilt from the template on each change.
Try checking the instructions here for the custom template build.
http://wiki.centos-webpanel.com/webservers-vhost-templates
378
Other / Re: Have a few questions before moving fully with centos panel
« on: November 21, 2020, 08:14:05 AM »
Setup of the nameservers
http://wiki.centos-webpanel.com/how-to-setup-name-servers
benefits are that this is a FREE service which has multiple DNS servers in a cluster and different GEO location in a different IP ranges.
This is important only for some national domains as they request that ns1 and ns2 are in the different IP ranges....there is no any other real benefit than using your own server for nameservers.
nodejs info
http://wiki.centos-webpanel.com/how-to-install-and-setup-node-js-on-cwp
http://wiki.centos-webpanel.com/how-to-setup-name-servers
benefits are that this is a FREE service which has multiple DNS servers in a cluster and different GEO location in a different IP ranges.
This is important only for some national domains as they request that ns1 and ns2 are in the different IP ranges....there is no any other real benefit than using your own server for nameservers.
nodejs info
http://wiki.centos-webpanel.com/how-to-install-and-setup-node-js-on-cwp
379
E-Mail / Re: AutoSSL for mail only
« on: November 19, 2020, 08:05:25 PM »
you should only allow proxy for mail subdomain to cwp and that is it and for manual configuration you need to check postfix/dovecot conf this is regular postfix/dovecot conf so any sysadmin should be able to set sni ssl for it.
380
DKIM / Re: Duplicated DKIM Records
« on: November 19, 2020, 08:01:18 PM »
you need to check maillogs or check with experienced sysadmin or cwp support
381
E-Mail / Re: gmail problem
« on: November 19, 2020, 07:59:40 PM »
you should check with cwp support
382
Updates / Re: After updates 11.14.20 Apache failed to start
« on: November 19, 2020, 07:55:15 PM »383
CentOS 7 Problems / Re: Apache not working
« on: November 19, 2020, 07:53:11 PM »Code: [Select]
rpm -e httpd --nodepsthen rebuild webservers from cwp
384
Other / Re: Traffic from unknown URL
« on: November 16, 2020, 11:31:36 AM »
you need to check that with your server provider or some experienced system admin as all depends on the traffic type, data.....
385
Updates / Re: After updates 11.14.20 Apache failed to start
« on: November 16, 2020, 11:28:37 AM »
you need to check the service status and logs
386
CentOS 7 Problems / Re: Restore CWP to new Location
« on: November 16, 2020, 11:26:56 AM »
try to run
sh /scripts/image_rebuild_server_config
you may also need to rebuild webservers from cwp or by api command line
sh /scripts/image_rebuild_server_config
you may also need to rebuild webservers from cwp or by api command line
387
Apache / Re: FTP subdomain serving root webpage ?
« on: November 12, 2020, 04:55:35 PM »
you probably have some configuration mixed or you are talking about https as in a case some domain has no https the ssl of the first domain on the same will be serverd (that is a default webserver behavior)
388
CentOS 7 Problems / Re: 0kb file downloading instead opening wordpress website
« on: November 12, 2020, 04:49:56 PM »
info is on the wiki, using search always help
http://wiki.centos-webpanel.com/options-followsymlinks-not-allowed
http://wiki.centos-webpanel.com/options-followsymlinks-not-allowed
389
CentOS-WebPanel Bugs / Re: Error not displaying content text in the user login control
« on: November 12, 2020, 04:49:10 PM »
don't see that issue anywhere, maybe something related to your browser ?
390
Installation / Re: PHP Selector fails to install PHP
« on: November 11, 2020, 04:41:08 PM »
you can check the logs in the files
/var/log:
php-dependencies.log
php-selector-rebuild.log
/var/log:
php-dependencies.log
php-selector-rebuild.log
