Apache-less variant with PHP 7.4 or greater

SFCORTES
Posts: 6
Joined: Wed Jan 20, 2021 1:11 am

On myVesta / Server / php-fpm when i try to restart, it returns: Error: php-fpm restart failed
Terminal service php7.4-fpm restart works. Any idea?
User avatar
myVesta
Site Admin
Posts: 928
Joined: Fri Jun 19, 2020 9:59 am
Has thanked: 8 times
Been thanked: 6 times

That's bug in myVesta script.
Older Debian had only one php-fpm, and that's why it calls 'php-fpm'.

That code is inherited from official Vesta.
I actually never used Apache-less variant, that's why I never saw that error.

In short - don't restart php-fpm from panel interface.
Please restart php-fpm from console:

Code: Select all

sudo systemctl restart php7.4-fpm
That will call right version of php-fpm service :)
SFCORTES
Posts: 6
Joined: Wed Jan 20, 2021 1:11 am

Thanks a lot, I thought I messed it up upgrading to php7.4.
sound4you
Posts: 7
Joined: Sun Jul 03, 2022 3:35 pm

Hello. I found MyVesta 6 months ago. I migrated from VestaCp to MyVesta. My nginx php-fpm configuration, I used MyVesta nginx php-fpm but I noticed some limitations. I decided to install "bash vst-install-debian.sh". I followed the steps of this topic, the site works perfectly but http:mydomain.com/webmail error "500 Internal Server Error"
Roundcube does not work.


[error] 1957#1957: *21 connect() failed (111: Connection refused) while connecting to upstream, client: xx.xx.xxx.xxx, server: mydomain.com, request: "GET /webmail/ HTTP/2.0", upstream: "fastcgi://127.0.0.1:9000", host: "mydomain.com"

An idea ?
Post Reply