Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion Debian/Ubuntu
  • Search

PHP Multi selector for PHP 5.6, 7.0, 7.1, 7.2, 7.3, 7.4 8.0 for Ubuntu & Debian Topic is solved

Debian/Ubuntu related topics
Post Reply
  • Print view
Advanced search
21 posts
  • Previous
  • 1
  • 2
  • 3
Messiah
Posts: 74
Joined: Sun Apr 06, 2014 8:47 pm

Re: PHP Multi selector for PHP 5.6, 7.0, 7.1, 7.2, 7.3, 7.4 8.0 for Ubuntu & Debian
  • Quote

Post by Messiah » Tue Apr 25, 2023 11:28 pm

Error: php-fpm pool doesn't exist
There is a funny piece of the code in both VestaCP and myVesta.
v-delete-web-domain-backend and prepare_web_backend() of domain.sh contain

Code: Select all

pool=$(find -L /etc/php* -type d \( -name "pool.d" -o -name "*fpm.d" \))
if [ ! -e "$pool" ]; then
    echo "php-fpm pool doesn't exist"
fi
It will fail to find the proper directory in case 2 different FPMs are installed simultaneously in case WEB_BACKEND='php-fpm'. The `pool` variable will contain 2 lines separated by \n.
Does anybody have any ideas or ready solution how to make multiple php fpm work with Vesta correctly?

I do not accept the rewriting of half of Vesta code, replacing php* with php7 to use specific php fpm for all domains and some other to bee changed manually in the configs etc.
Top


Post Reply
  • Print view

21 posts
  • Previous
  • 1
  • 2
  • 3

Return to “Debian/Ubuntu”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password