Show Posts

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.


Messages - Administrator

Pages: 1 [2] 3 4 ... 110
16
you can contact cwp support to check that for you
http://centos-webpanel.com/contact

17
Information / Re: It seems that cwp has a new website
« on: June 29, 2019, 10:40:50 PM »
If you think there are no bugs then I suggest you read all of the posts and see how many of the bugs had solutions.

CWP was sold only a few months ago.  That was when they started offering a non-free version called cwp-pro.  All versions will be charged in the very near future.  I suggest that you start preparing to pay, or find an alternative now before the proverbial stuff hits the fan.

CWP is from start developed by studio4host and nothing has changed and will not be changed in a bad way's you are talking about.
Anyways if you prefer some other software then you should use it and don't bother others with some made-up ideas.

We are using the most widely used software in cwp so anyone knows how to resolve issues by simply using google.
We also fix all that is reported, some things take more time and some need to wait for new developement...all depends.

CWP will go further and will bring much more new things soon.

18
Information / Re: Multiple server,
« on: April 10, 2019, 09:01:30 AM »
no, cwp is per server

19
maybe it works but as said you could have and will have issues for sure as cwp make custom configuration for nginx when installing it, also cwp is using a custom repository for nginx so you would get the latest version of nginx and not an old version provided by the default repo.

20
Suggestions / Re: Cwp.user branding logo in CWP.Pro systems.
« on: February 16, 2019, 08:43:22 PM »
cwp is already designed so you can change templates, make your own copy and set that new template for users from the admin panel.

21
CentOS-WebPanel Bugs / Re: Undefined variables in zone_editor.php
« on: February 14, 2019, 04:03:02 PM »
what is your cwp version and you how that dns zone looks

cat /var/name/DOMAIN.db

22
CentOS 7 Problems / Re: Can not update vhosts-ssl.conf
« on: February 14, 2019, 08:09:41 AM »
centos 7 is not using that file anymore, try to rebuild all your vhosts and remove that file.

23
php selector and php-fpm selector have a different handler meaning that opcache will not work in php selector as it's using suphp handler.
http://wiki.centos-webpanel.com/php-opcache-xcache-apc-varnish

24
PHP Selector / Re: Disable NOTICE Log PHP-FPM
« on: February 12, 2019, 06:34:45 AM »
for php-fpm you need to restart php-fpm from the php-fpm selector

25
if cwp loads slowly then probably that server is slow....depends on your server provider it can be that some cheap servers are oversold and resource on them are a very low..mostly common issue is a slow disk.

26
High Performance / CWP WebServers Detailed INFO
« on: December 16, 2018, 01:29:14 AM »
CWP WebServers Config (CWP version 0.9.8.741+)
Now with CWP servers, you have the highest flexibility that you could ever imagine.
You can run different WebServers Setup for each domain and even combine other servers and have many other possibilities.

To have the ability of all options first you need to install and enable all webservers that you would need.
We recommend going with all: Nginx/Varnish/Apache as then you have all other options.

1. Install required WebServers
In CWP.admin left menu go to WebServer Settings -> Select WebServers

Apache Only
With apache only, you get all these options available per domain/subdomain.
- 10.1 Apache + php-cgi (suPHP handler running PHP Selector & PHP Switcher, it can also change PHP version per folder).
- 10.2 Apache + php-fpm (via PHP-FPM Selector, one php version per domain/subdomain).
- 10.3 Apache + proxy (proxy to custom port, example for tomcat or to other IP and port).

Nginx Only
With nginx only, you have this two options available per domain/subdomain.
Please note that Nginx with PHP-FPM requires custom templates for each type of cms as it handles rewrite rules in the vhost configuration.
- 20.2 Nginx + php-fpm (via PHP-FPM Selector, one php version per domain/subdomain).
- 20.3 Nginx + proxy (proxy to custom port, example for tomcat or to other IP and port).

LiteSpeed
This is the same setup like "Apache Only" with php-cgi/suPHP handler.

Nginx & Apache
This option allows you to run the best from both worlds of Nginx & Apache.
Since Nginx is if front of Apache it will also handle many static files and reduce the load on apache so apache can handle more traffic.
- 10.1.1 Nginx/Apache + php-cgi (suPHP handler running PHP Selector & PHP Switcher, it can also change PHP version per folder).
- 10.2.1 Nginx/Apache + php-fpm (via PHP-FPM Selector, one php version per domain/subdomain).
- 10.3.1 Nginx/Apache + proxy (proxy to custom port, example for tomcat or to other IP and port).
- 20.2 Nginx + php-fpm (via PHP-FPM Selector, one php version per domain/subdomain).
- 20.3 Nginx + proxy (proxy to custom port, example for tomcat or to other IP and port).

Nginx & Varnish
This option is recommended only if you need to use Nginx & Varnish as proxy and cache servers for your other server or a custom application running on a custom port.
- 20.2 Nginx + php-fpm (via PHP-FPM Selector, one php version per domain/subdomain).
- 20.3 Nginx + proxy (proxy to custom port, example for tomcat or to other IP and port).
- 30.1 Nginx/Varnish -> proxy to custom IP:port, example for tomcat/ruby/nodejs or some other server

Nginx & Varnish & Apache (recommended)
The best option you could ever imagine giving you the full flexibility and the best performances.
- 10.1.1 Nginx/Apache + php-cgi (suPHP handler running PHP Selector & PHP Switcher, it can also change PHP version per folder).
- 10.2.1 Nginx/Apache + php-fpm (via PHP-FPM Selector, one php version per domain/subdomain).
- 10.3.1 Nginx/Apache + proxy (proxy to custom port, example for tomcat or to other IP and port).
- 10.1.2 Nginx/Varnish/Apache + php-cgi (suPHP handler running PHP Selector & PHP Switcher, it can also change PHP version per folder).
- 10.2.2 Nginx/Varnish/Apache + php-fpm (via PHP-FPM Selector, one php version per domain/subdomain).
- 10.3.2 Nginx/Varnish/Apache + proxy (proxy to custom port, example for tomcat or to other IP and port).
- 20.2 Nginx + php-fpm (via PHP-FPM Selector, one php version per domain/subdomain).
- 20.3 Nginx + proxy (proxy to custom port, example for tomcat or to other IP and port).
- 30.1 Nginx/Varnish -> proxy to custom IP:port, example for tomcat/ruby/nodejs or some other server.


All options explained
- 10.1 Apache + php-cgi (suPHP handler running PHP Selector & PHP Switcher, it can also change PHP version per folder)
   This is our old the most flexible apache which supports any script and also has the advantage of php selector and php-switcher.
   * php selector - gives you the flexibility to run a different php version per folder by using htaccess.
   * php switcher - this is a default version of php installed during cwp first setup and its also default for all new accounts/domains/subdomains.

- 10.2 Apache + php-fpm (via PHP-FPM Selector, one php version per domain/subdomain)
   This is our new feature which provides you with the maximum performances which php has to offer. It runs via fcgi handler with php-fpm selector.
   Here you can run different php versions only per domain/subdomain.


- 10.3 Apache + proxy (proxy to custom port, example for tomcat or to other IP and port)
   Apache proxy works like a proxy for other applications or other location, example you can proxy some domain/subdomain to other IP:PORT.
   This can be useful if you need to run some other application on the custom port or if you need to proxy to your custom application on the other server.

- 10.1.1 Nginx/Apache + php-cgi (suPHP handler running PHP Selector & PHP Switcher, it can also change PHP version per folder)
   This is our old the most flexible apache which supports any script and also has the advantage of php selector and php-switcher.
   Nginx is here used as a proxy server so it will handle ssl and also will handle many static files to reduce the load on apache giving you the better performances.
   * php selector - gives you the flexibility to run a different php version per folder by using htaccess.
   * php switcher - this is a default version of php installed during cwp first setup and its also default for all new accounts/domains/subdomains.

- 10.2.1 Nginx/Apache + php-fpm (via PHP-FPM Selector, one php version per domain/subdomain)
   This is our new feature which provides you with the maximum performances which php has to offer. It runs via fcgi handler with php-fpm selector.
   Here you can run different php versions only per domain/subdomain via php-fpm selector.
   Nginx is here used as a proxy server so it will handle ssl and also will handle many static files to reduce the load on apache giving you the better performances.

- 10.3.1 Nginx/Apache + proxy (proxy to custom port, example for tomcat or to other IP and port)
   Apache proxy works like a proxy for other applications or other location, example you can proxy some domain/subdomain to other IP:PORT.
   This can be useful if you need to run some other application on the custom port or if you need to proxy to your custom application on the other server.
   You can also run nginx proxy directly to avoid apache but in some cases, you need to do it via apache.

- 10.1.2 Nginx/Varnish/Apache + php-cgi (suPHP handler running PHP Selector & PHP Switcher, it can also change PHP version per folder)
   This is our old the most flexible apache which supports any script and also has the advantage of php selector and php-switcher.
   Nginx is here used as a proxy server so it will handle ssl and also will handle many static files to reduce the load on apache giving you the better performances.
   Varnish will make your php scripts look like a static site and provide incredible performance and dramatically reduce the load of php-cgi.
   * php selector - gives you the flexibility to run a different php version per folder by using htaccess.
   * php switcher - this is a default version of php installed during cwp first setup and its also default for all new accounts/domains/subdomains.

- 10.2.2 Nginx/Varnish/Apache + php-fpm (via PHP-FPM Selector, one php version per domain/subdomain)
   This is our new feature which provides you with the maximum performances which php has to offer. It runs via fcgi handler with php-fpm selector.
   Here you can run different php versions only per domain/subdomain via php-fpm selector.
   Nginx is here used as a proxy server so it will handle ssl and also will handle many static files to reduce the load on apache giving you the better performances.
   Varnish will make your php scripts look like a static site and provide incredible performance and reduce the load of php-fpm.

- 10.3.2 Nginx/Varnish/Apache + proxy (proxy to custom port, example for tomcat or to other IP and port)
   Nginx is here used as a proxy server so it will handle ssl and also will handle many static files to reduce the load on apache giving you the better performances.
   Varnish will make your scripts look like a static site and provide incredible performance and reduce the load on your script.
   Apache proxy works like a proxy for other applications or other location, example you can proxy some domain/subdomain to other IP:PORT.

- 20.2 Nginx + php-fpm (via PHP-FPM Selector, one php version per domain/subdomain)
   This is our new feature which provides you with the maximum performances which php has to offer. It runs via fcgi handler with php-fpm selector.
   Please note that when nginx is handling all then you need to make custom templates for each type of cms depending on the rewrite/redirect rules you need.

- 20.3 Nginx + proxy (proxy to custom port, example for tomcat or to other IP and port)
   Nginx is here used as a proxy server so it will handle ssl and also will handle many static files to reduce the number of request to your application.

- 30.1 Nginx/Varnish -> proxy to custom IP:port, example for tomcat/ruby/nodejs or some other server
   Nginx is here used as a proxy server so it will handle ssl and also will handle many static files to reduce the number of request to your application.
   Varnish will make your scripts look like static site and provide incredible performance and reduce the load on your script.


Force PHP-FPM
This option would disable php-cgi so you wouldn't be able to use it anymore.
You will be only able to use PHP-FPM selector, PHP Switcher and PHP Selector will not be in use anymore

Activation of varnish
By default Varnish is always disabled, you can only activate it in CWP.admin left menu go to WebServer Settings -> WebServers Domain Conf when you selecting varnish in the custom config for that domain.

Why is Varnish by default disabled?
It's disabled because it cache's almost anything and for example when you modify your site from admin it would still show the old content until the cache expires.

When do I need to activate varnish?
We recommend activation of varnish only when you need to reduce the load because of high number of php processes.


Please also check this instructions:
- WebServers vHost Templates
- Wordpress High Performances

27
This issue was resolved with the latest CWP update, it will be updated automatically or you can run the manual update by using this command in the shell as root:

sh /scripts/update_cwp

28
Apache / Re: appached failed after reboot
« on: December 02, 2018, 08:12:21 PM »
you need to do fsck on reboot as your server is in read-only mode.

29
High Performance / Re: Wordpress - High-Performance instructions
« on: December 02, 2018, 04:21:43 PM »
Nice but would be better if complete instructions were give as in how to activate Varnish?

- Make sure that in left menu WebServers Settings -> WebServers Domain Conf config for your domain for apache is set to nginx -> varnish -> apache -> php-fpm and PHP-FPM version is set to 7.0, 7.1 or 7.2. This will activate Varnish and php-fpm.

30
High Performance / Wordpress - High-Performance instructions
« on: December 02, 2018, 02:18:13 PM »
Wordpress - High-Performance instructions
Currently, this is available only for CentOS 7 version 0.9.8.741+, soon will be available also for CentOS 6.

Video Instructions
https://www.youtube.com/watch?v=5PeACKK4Mq4

- make sure you have installed php-fpm 7.0, 7.1 or 7.2...you can choose any version.
- rebuild your webservers with Nginx & Varnish & Apache.

Now we will explain here two types of websites, one is webshop or website with order forms and frequent changes and the other is a company website that doesn't make updates frequently but has a high traffic.

1. webshop (or website with frequent changes).
2. company website (which has no frequent changes but has a high traffic).

1. webshop (or website with frequent changes)
* for this kind of website we recommend that the varnish is disabled or has a custom config, please note that by default varnish is always disabled so you will not need to do anything specific here as varnish needs to be additionally enabled even if you run webservers with setup Nginx & Varnish & Apache.

- default php-fpm configuration for version 7.0, 7.1 or 7.2 will be ok.
- nginx should be enabled and if you have built servers as Nginx & Varnish & Apache then you are ok.
- Make sure that in left menu WebServers Settings -> WebServers Domain Conf config for your domain for apache is set to nginx -> apache -> php-fpm and PHP-FPM version is set to 7.0, 7.1 or 7.2.
- if you run WordPress you should install in WordPress cache plugin like "W3 Total Cache".
and you are ready to go, with this kind of setup your site will be able to handle up to 15x more traffic with much higher speed.


2. company website (which has no frequent changes but has a high traffic)
* for this kind of website we recommend that varnish is enabled, please note that by default varnish is always disabled so you will need to additionally enabled it even if you run webservers with setup Nginx & Varnish & Apache.

- default php-fpm configuration for version 7.0, 7.1 or 7.2 will be ok.
- nginx&varnish should be enabled and if you have built servers as Nginx & Varnish & Apache then you are ok.
- Make sure that in left menu WebServers Settings -> WebServers Domain Conf config for your domain for apache is set to nginx -> varnish -> apache -> php-fpm and PHP-FPM version is set to 7.0, 7.1 or 7.2. This will activate Varnish and php-fpm.
- if you run WordPress you should install in WordPress cache plugin like "W3 Total Cache".
and you are ready to go, with this kind of setup your site will be able to handle up to 30x more traffic with much higher speed.

YouTube instructions:
https://www.youtube.com/watch?v=5PeACKK4Mq4

** Please note that php 7 is recommended here as it's much faster than php 5.

--
More detailed info about new cwp webservers
http://forum.centos-webpanel.com/high-performance/cwp-webservers-detailed-info/

Custom Templates
http://wiki.centos-webpanel.com/webservers-vhost-templates

Pages: 1 [2] 3 4 ... 110