TUTORIAL: PHP selector for PHP 5.6, 7.0, 7.1, 7.2, 7.3, 7.4 for Debian & Ubuntu (and optionally directly nginx-PHP-FPM)
Re: TUTORIAL: PHP selector for PHP 5.6, 7.0, 7.1, 7.2, 7.3 for Debian and Ubuntu (and optionally directly nginx-PHP-FPM)
Hi;
I was wondering how to make it happen without apache
like if I installed only nginx+php-fpm on Debian9
I was wondering how to make it happen without apache
like if I installed only nginx+php-fpm on Debian9
Re: TUTORIAL: PHP selector for PHP 5.6, 7.0, 7.1, 7.2, 7.3 for Debian and Ubuntu (and optionally directly nginx-PHP-FPM)
See second post in this thread, but, however, you probably need to modify tutorial steps (from first post) to avoid Apache-related things.
Or simply install Apache, follow tutorials from first and second post, and then simply turn off Apache.
Re: TUTORIAL: PHP selector for PHP 5.6, 7.0, 7.1, 7.2, 7.3 for Debian and Ubuntu (and optionally directly nginx-PHP-FPM)
Hi!
Thank You for your help, I managed to use the default PHP 7.2 with Apache 2.0 Handler, and PHP 5.6 with FPM/FastCGI on Ubuntu 18.04 LTS.
My question is: why these pool.d PHP FPM config files are left behind after deleting a user / domain:
/etc/php/5.6/fpm/pool.d/domain.com.conf
After that, php5.6-fpm service restart also fails.
Thank you, in advance!
Sincerely,
eSzeL
Thank You for your help, I managed to use the default PHP 7.2 with Apache 2.0 Handler, and PHP 5.6 with FPM/FastCGI on Ubuntu 18.04 LTS.
My question is: why these pool.d PHP FPM config files are left behind after deleting a user / domain:
/etc/php/5.6/fpm/pool.d/domain.com.conf
After that, php5.6-fpm service restart also fails.
Thank you, in advance!
Sincerely,
eSzeL
Re: TUTORIAL: PHP selector for PHP 5.6, 7.0, 7.1, 7.2, 7.3 for Debian and Ubuntu (and optionally directly nginx-PHP-FPM)
I added this line to /vesta/func/domain.sh, to the del_web_config() function:
# Delete web configuration
del_web_config() {
rm -f "/etc/php/5.6/fpm/pool.d/$domain.conf"
# Delete web configuration
del_web_config() {
rm -f "/etc/php/5.6/fpm/pool.d/$domain.conf"
eSzeL wrote: ↑Sun Mar 10, 2019 3:16 pmHi!
Thank You for your help, I managed to use the default PHP 7.2 with Apache 2.0 Handler, and PHP 5.6 with FPM/FastCGI on Ubuntu 18.04 LTS.
My question is: why these pool.d PHP FPM config files are left behind after deleting a user / domain:
/etc/php/5.6/fpm/pool.d/domain.com.conf
After that, php5.6-fpm service restart also fails.
Thank you, in advance!
Sincerely,
eSzeL
Re: TUTORIAL: PHP selector for PHP 5.6, 7.0, 7.1, 7.2, 7.3 for Debian and Ubuntu (and optionally directly nginx-PHP-FPM)
Because this tutorial does not modify Vesta sctipts in any way - you must implement deletion manually - as you already did.
Re: TUTORIAL: PHP selector for PHP 5.6, 7.0, 7.1, 7.2, 7.3 for Debian and Ubuntu (and optionally directly nginx-PHP-FPM)
Probably there is no way to do it - except to fork Vesta on github and stop regular updates of vesta and update vesta only via github (from your fork) - which means you also should merge origin-master official vesta git repo to your fork frequently.
Re: TUTORIAL: PHP selector for PHP 5.6, 7.0, 7.1, 7.2, 7.3 for Debian and Ubuntu (and optionally directly nginx-PHP-FPM)
Definitely more secure. VestaCP wasn't very secure lately..
Re: TUTORIAL: PHP selector for PHP 5.6, 7.0, 7.1, 7.2, 7.3 for Debian and Ubuntu (and optionally directly nginx-PHP-FPM)
for example? hestia is fork of vestaDefinitely more secure.