Control Web Panel

WebPanel => Updates => Topic started by: bobyrosagame on December 02, 2018, 10:55:20 PM

Title: Every menu item showing : High Performace WebServers Configuration
Post by: bobyrosagame on December 02, 2018, 10:55:20 PM
I logged to both my servers using CWP and I am getting this below on every item I click on to configure CWP.. I really don't want to upgrade or make changes.. How do I fix this or skip this?




-----------------------------------
High Performace WebServers Configuration
Welcome to new and advanced webservers configuration, we are now giving you the flexibility and performance unlike anything else.
- PHP-FPM Selector with the ability to run different version per domain or subdomain
- PHP-FPM with additional cache options for best performances
- Advanced WebServers, that allows you to run custom webservers with different setup per domain

WebServers Setup per domain
If you have enabled Nginx/Varnish/Apache as main webservers with PHP-FPM this allows you to have the highest flexibility.
You can define for each domain or subdomain what webservers to use, example:
- domain-1.com can run Nginx + PHP-FPM
- domain-2.com can run Nginx + Apache + PHP-FPM
- domain-3.com can run Nginx + Varnish + Apache + PHP-FPM
- domain-4.com can run Nginx + Varnish + Apache + PHP-CGI(suphp, current setup like before in cwp)
- domain-5.com can run Nginx + Varnish + Tomcat
- domain-6.com can run Nginx + Varnish + Ruby
Title: Re: Every menu item showing : High Performace WebServers Configuration
Post by: josemnunez on December 02, 2018, 11:55:00 PM
Code: [Select]
http://forum.centos-webpanel.com/high-performance/wordpress-high-performance-instructions/msg20121/?topicseen#msg20121
Title: Re: Every menu item showing : High Performace WebServers Configuration
Post by: jeffshead on December 02, 2018, 11:59:53 PM
Same here.

I misunderstood the message and thought that I could install it as an option so I screwed up and installed it. Now I can't do anything because it says I need to rebuild my servers. This is BULLS!T the way they did this.

They did not elaborate on the advantages and disadvantages of PHP-FMP. After some research, it is my understanding that PHP-FMP does not let you have a different PHP version on a per directory basis, you can no longer have a seperate php.ini file per directory and you cannot specify which PHP version you want to use per directory, via htaccess files. Am I wrong? If I'm correct, then why in the world did the CWP developers say that PHP-FMP has, "flexibility and performance unlike anything else"? I'm guessing there's no way to undo this now  >:( >:( >:( >:( >:(
Title: Re: Every menu item showing : High Performace WebServers Configuration
Post by: bobyrosagame on December 03, 2018, 12:15:35 AM
I do not want to do this update..     I cant risk this on a production server.

How do I avoid this update and get back to my menus so I can manage my server...
Title: Re: Every menu item showing : High Performace WebServers Configuration
Post by: jeffshead on December 03, 2018, 12:22:39 AM
The more I think about the authoritarian manner in which they pushed this update the more I'm leaning to going back to my previous control panel. This is BS! They need to do a better job of explaining the loss of "flexibility" if you take this "upgrade".
Title: Re: Every menu item showing : High Performace WebServers Configuration
Post by: josemnunez on December 03, 2018, 12:23:44 AM
The reconstruction is very easy, just make sure to check the option that I put in the image.
Now you can have different webserver conbinations by domains and up to subdomain

Code: [Select]
https://prnt.sc/lpvcow
Title: Re: Every menu item showing : High Performace WebServers Configuration
Post by: jeffshead on December 03, 2018, 12:42:44 AM
Thanks but I need different PHP versions per directory. Being limited to domain or subdomain will not be granular enough.

Can you specify PHP 7.2 for a domain and PHP 5.6 for a specific directory in the same domain with PHP-FMP?
Title: Re: Every menu item showing : High Performace WebServers Configuration
Post by: josemnunez on December 03, 2018, 01:03:12 AM
Have you tried going to Manage WebServers Configuration and place the domain settings in CGI mode?
Title: Re: Every menu item showing : High Performace WebServers Configuration
Post by: bobyrosagame on December 03, 2018, 01:23:20 AM
Do you want to install php-fpm?
Install

PHP-FPM Selector
Start Complier (build & Install)
Select the PHP version you are using.



Apache only
Set version to 7
Select Force Apache to use PHP-FPM





Select Webservers Main Conf
Rebuild all vhosts on save
Title: Re: Every menu item showing : High Performace WebServers Configuration
Post by: jeffshead on December 03, 2018, 01:39:55 AM
The vhost template menu is gone after this "upgrade". I lost all of the customization that I did. All vhosts were rebuilt and a really weird thing I found is that one account is supposed to use a different IP address. It shows that the correct IP is set to that account but when I check the vhost file for that account's domain, it's set to the shared IP. This sucks!
Title: Re: Every menu item showing : High Performace WebServers Configuration
Post by: Netino on December 03, 2018, 05:38:10 PM
@josemnunez is right, the per-directory configuration, in theory, must be handled in CGI mode.
Title: Re: Every menu item showing : High Performace WebServers Configuration
Post by: westcoastradio on December 05, 2018, 06:33:27 AM
I too wish to remove or skip this. I'm not interested in it, and don't want to possibly break something if I install it unnecessarily.

How do I do this please?
Title: Re: Every menu item showing : High Performace WebServers Configuration
Post by: The_Anomaly on December 10, 2018, 06:35:22 AM
Another victim here!

You cannot get around this screen.  Every menu now has the forced install PHP-FPM screen.  When you select install and the version it does the build in the background but thats it!

How do we get around this?  Can someone post a tutorial of what needs to be done or how to go back.

ALSO this update has affected my client logins.  They've gained a new theme but can do anything with an error message saying contact your administrator.

 >:( >:(

EDIT: more context...

I am using PHP 7.027 and I can choose only this option in CWP7.admin

When I go to select default web servers its set to Apache only but I cannot tick force FPM and rebuild because it says its not installed.  I have clicked on install and build / then the options and php 7.027 which runs in the background.

The results: https://prnt.sc/lsxkpd

I have restarted the server and some screens have come back.
Title: Re: Every menu item showing : High Performace WebServers Configuration
Post by: lecter23 on December 10, 2018, 02:18:37 PM
Another one. Why are you forcing to install php-fpm? Why not just a warning?

Same error as last reply on build process:


'ioncube_loader_lin_5.5_ts.so' -> '/usr/local/ioncube/ioncube_loader_lin_5.5_ts.so'
'ioncube_loader_lin_5.6.so' -> '/usr/local/ioncube/ioncube_loader_lin_5.6.so'
'ioncube_loader_lin_5.6_ts.so' -> '/usr/local/ioncube/ioncube_loader_lin_5.6_ts.so'
'ioncube_loader_lin_7.0.so' -> '/usr/local/ioncube/ioncube_loader_lin_7.0.so'
'ioncube_loader_lin_7.0_ts.so' -> '/usr/local/ioncube/ioncube_loader_lin_7.0_ts.so'
'ioncube_loader_lin_7.1.so' -> '/usr/local/ioncube/ioncube_loader_lin_7.1.so'
'ioncube_loader_lin_7.1_ts.so' -> '/usr/local/ioncube/ioncube_loader_lin_7.1_ts.so'
'ioncube_loader_lin_7.2.so' -> '/usr/local/ioncube/ioncube_loader_lin_7.2.so'
'ioncube_loader_lin_7.2_ts.so' -> '/usr/local/ioncube/ioncube_loader_lin_7.2_ts.so'
'loader-wizard.php' -> '/usr/local/ioncube/loader-wizard.php'
yes: standard output: Broken pipe
yes: write error
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
/usr/local/cwpsrv/htdocs/resources/conf/php-fpm_selector/external_modules/7.2/opcache.sh: line 3: /opt/alt/php-fpm72/usr/bin/php-config: No such file or directory
ERROR: Missing extension file /opcache.so
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
--2018-12-10 13:59:13--  https://pecl.php.net/get/apcu-5.1.12.tgz
Resolving pecl.php.net (pecl.php.net)... 104.236.228.160
Connecting to pecl.php.net (pecl.php.net)|104.236.228.160|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 105890 (103K) [application/octet-stream]
Saving to: 'apcu-5.1.12.tgz'

     0K .......... .......... .......... .......... .......... 48%  376K 0s
    50K .......... .......... .......... .......... .......... 96%  752K 0s
   100K ...                                                   100% 6501G=0.2s

2018-12-10 13:59:13 (519 KB/s) - 'apcu-5.1.12.tgz' saved [105890/105890]

/usr/local/cwpsrv/htdocs/resources/conf/php-fpm_selector/external_modules/7.2/apcu.sh: line 8: /opt/alt/php-fpm72/usr/bin/phpize: No such file or directory
/usr/local/cwpsrv/htdocs/resources/conf/php-fpm_selector/external_modules/7.2/apcu.sh: line 9: ./configure: No such file or directory
make: *** No targets specified and no makefile found.  Stop.

/usr/local/cwpsrv/htdocs/resources/conf/php-fpm_selector/external_modules/7.2/apcu.sh: line 13: /opt/alt/php-fpm72/usr/bin/php-config: No such file or directory
ERROR: Missing extension file /apcu.so
exe:/opt/alt/php-fpm72/usr/sbin/php-fpm
Redirecting to /bin/systemctl restart httpd.service

Build Completed
###################
Title: Re: Every menu item showing : High Performace WebServers Configuration
Post by: GTMAN on December 10, 2018, 02:50:29 PM
Another one. Why are you forcing to install php-fpm? Why not just a warning?

Same error as last reply on build process:


'ioncube_loader_lin_5.5_ts.so' -> '/usr/local/ioncube/ioncube_loader_lin_5.5_ts.so'
'ioncube_loader_lin_5.6.so' -> '/usr/local/ioncube/ioncube_loader_lin_5.6.so'
'ioncube_loader_lin_5.6_ts.so' -> '/usr/local/ioncube/ioncube_loader_lin_5.6_ts.so'
'ioncube_loader_lin_7.0.so' -> '/usr/local/ioncube/ioncube_loader_lin_7.0.so'
'ioncube_loader_lin_7.0_ts.so' -> '/usr/local/ioncube/ioncube_loader_lin_7.0_ts.so'
'ioncube_loader_lin_7.1.so' -> '/usr/local/ioncube/ioncube_loader_lin_7.1.so'
'ioncube_loader_lin_7.1_ts.so' -> '/usr/local/ioncube/ioncube_loader_lin_7.1_ts.so'
'ioncube_loader_lin_7.2.so' -> '/usr/local/ioncube/ioncube_loader_lin_7.2.so'
'ioncube_loader_lin_7.2_ts.so' -> '/usr/local/ioncube/ioncube_loader_lin_7.2_ts.so'
'loader-wizard.php' -> '/usr/local/ioncube/loader-wizard.php'
yes: standard output: Broken pipe
yes: write error
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
/usr/local/cwpsrv/htdocs/resources/conf/php-fpm_selector/external_modules/7.2/opcache.sh: line 3: /opt/alt/php-fpm72/usr/bin/php-config: No such file or directory
ERROR: Missing extension file /opcache.so
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
--2018-12-10 13:59:13--  https://pecl.php.net/get/apcu-5.1.12.tgz
Resolving pecl.php.net (pecl.php.net)... 104.236.228.160
Connecting to pecl.php.net (pecl.php.net)|104.236.228.160|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 105890 (103K) [application/octet-stream]
Saving to: 'apcu-5.1.12.tgz'

     0K .......... .......... .......... .......... .......... 48%  376K 0s
    50K .......... .......... .......... .......... .......... 96%  752K 0s
   100K ...                                                   100% 6501G=0.2s

2018-12-10 13:59:13 (519 KB/s) - 'apcu-5.1.12.tgz' saved [105890/105890]

/usr/local/cwpsrv/htdocs/resources/conf/php-fpm_selector/external_modules/7.2/apcu.sh: line 8: /opt/alt/php-fpm72/usr/bin/phpize: No such file or directory
/usr/local/cwpsrv/htdocs/resources/conf/php-fpm_selector/external_modules/7.2/apcu.sh: line 9: ./configure: No such file or directory
make: *** No targets specified and no makefile found.  Stop.

/usr/local/cwpsrv/htdocs/resources/conf/php-fpm_selector/external_modules/7.2/apcu.sh: line 13: /opt/alt/php-fpm72/usr/bin/php-config: No such file or directory
ERROR: Missing extension file /apcu.so
exe:/opt/alt/php-fpm72/usr/sbin/php-fpm
Redirecting to /bin/systemctl restart httpd.service

Build Completed
###################

Did you look at the entire log?  I had virtual memory issues. I increased the swap file size on my VPS and now have no problems compiling. 
Title: Re: Every menu item showing : High Performace WebServers Configuration
Post by: lecter23 on December 11, 2018, 08:43:21 AM
Did you look at the entire log?  I had virtual memory issues. I increased the swap file size on my VPS and now have no problems compiling.

Hello. Thanks for your help!
I increased the swap file, but still the same error :(

...
checking for strftime... (cached) yes
checking for gettimeofday... (cached) yes
checking whether to enable LIBXML support... yes
checking libxml2 install dir... no
checking for xml2-config path...
checking for pkg-config... /usr/bin/pkg-config
configure: error: libxml2 not found. Please check your libxml2 installation.
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target `install'.  Stop.
mkdir: cannot create directory '/opt/alt/php-fpm73/usr/var/sockets/': No such file or directory
mkdir: cannot create directory '/opt/alt/php-fpm73/usr/etc/php-fpm.d/': No such file or directory
mkdir: cannot create directory '/opt/alt/php-fpm73/usr/etc/php-fpm.d/users/': No such file or directory
/usr/local/src/php-fpm-7.3.sh: line 87: /opt/alt/php-fpm73/usr/etc/php-fpm.d/users.conf: No such file or directory
/usr/local/src/php-fpm-7.3.sh: line 88: /opt/alt/php-fpm73/usr/etc/php-fpm.conf: No such file or directory
/usr/local/src/php-fpm-7.3.sh: line 90: /opt/alt/php-fpm73/usr/etc/php-fpm.d/cwpsvc.conf: No such file or directory
cp: cannot stat 'sapi/fpm/php-fpm.service': No such file or directory
sed: can't read /usr/lib/systemd/system/php-fpm73.service: No such file or directory
sed: can't read /usr/lib/systemd/system/php-fpm73.service: No such file or directory
Failed to execute operation: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
/usr/local/cwpsrv/htdocs/resources/conf/php-fpm_selector/external_modules/7.3/opcache.sh: line 3: /opt/alt/php-fpm73/usr/bin/php-config: No such file or directory
ERROR: Missing extension file /opcache.so
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
--2018-12-11 08:33:25--  https://pecl.php.net/get/apcu-5.1.12.tgz
Resolving pecl.php.net (pecl.php.net)... 104.236.228.160
Connecting to pecl.php.net (pecl.php.net)|104.236.228.160|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 105890 (103K) [application/octet-stream]
Saving to: 'apcu-5.1.12.tgz'

     0K .......... .......... .......... .......... .......... 48%  385K 0s
    50K .......... .......... .......... .......... .......... 96%  769K 0s
   100K ...                                                   100% 6501G=0.2s

2018-12-11 08:33:26 (531 KB/s) - 'apcu-5.1.12.tgz' saved [105890/105890]

/usr/local/cwpsrv/htdocs/resources/conf/php-fpm_selector/external_modules/7.3/apcu.sh: line 8: /opt/alt/php-fpm73/usr/bin/phpize: No such file or directory
/usr/local/cwpsrv/htdocs/resources/conf/php-fpm_selector/external_modules/7.3/apcu.sh: line 9: ./configure: No such file or directory
make: *** No targets specified and no makefile found.  Stop.

/usr/local/cwpsrv/htdocs/resources/conf/php-fpm_selector/external_modules/7.3/apcu.sh: line 13: /opt/alt/php-fpm73/usr/bin/php-config: No such file or directory
ERROR: Missing extension file /apcu.so
Redirecting to /bin/systemctl restart httpd.service

Build Completed
###################


Error:Can't add notification!
Title: Re: Every menu item showing : High Performace WebServers Configuration
Post by: lecter23 on December 13, 2018, 08:56:57 AM
Hello.

I've solved it. libxml2 was not installed. I had to install many other libs after this, and finally build was successfully completed.

Title: Re: Every menu item showing : High Performace WebServers Configuration
Post by: nitram on December 17, 2018, 11:08:57 AM
Hello Everyone.
There is a huge reason we had to force everyone to the new version of the control panel.

These were done due to Security Measures, as well as Make it easy to continuosly support and improve the panel.

ALot of work has gone into the control panel to make it as it right now.

ADVANTAGE OF THE NEW SERVER
The new version introduces a new advanced file manager, i am sure many of you will love.

The new version includes an advanced web server that was completely re-designed. this is in effort of the new plans for CWP

Alot of new things will be coming to the panel including a new mail server.

The PHP-FPM now allow you to run different php version versions based on the domains or the subdomains on the server. This gives you even much better flexibility on php versions management.

A new user interface has also been introduced which is much beter looking, modern and responsive.

Just follow the instrutions to update the server.
Title: Re: Every menu item showing : High Performace WebServers Configuration
Post by: arseiola on January 11, 2019, 02:16:49 AM
A cron job ran an update on my free version CWP and it has caused this "high performance webservers installer" to be on every root screen, I can't manage my webserver accounts because they say I have to contact admin for an update. Why have they done this, this isn't going to convince me to go Pro quite the opposite. I can't even reboot the server.
Title: Re: Every menu item showing : High Performace WebServers Configuration
Post by: studio4host on January 11, 2019, 12:49:44 PM
you need to rebuild webservers to unlock it, this is required 2nd steep!
Title: Re: Every menu item showing : High Performace WebServers Configuration
Post by: Webhost987 on February 25, 2019, 05:24:36 AM
Another victim here. I cannot take a chance that this will bring down the server. I will never use CWP again. It's a shame because I really liked it. This has cost me many hours of annoyance.