Page 1 of 2
How to update php to 7.4 in nginx + php-fpm mode?
Posted: Fri Feb 12, 2021 6:49 pm
by verydima
Hi. First of all, I want to thank this super guy who creates MyVesta. Really good panel and I almost haven't any problems with this panel.
Admin, you need to add a big button at the website like "Say thank - just donate"

I have 3 questions.
1 How can I update PHP to 7.4 in config nginx + php-fpm?
2 What do you think about these nginx configs _https://gitlab.gridpane.net/gp-public/nginx-configs ?
3 Can you add nginx template with restricted access to the wp-admin and wp-login.php by IP.
Thanks.
P.S. Sorry for my bad English - it's not my native language.
Re: How to update php to 7.4 in nginx + php-fpm mode?
Posted: Fri Feb 12, 2021 6:57 pm
by myVesta
verydima wrote: ↑Fri Feb 12, 2021 6:49 pm
1 How can I update PHP to 7.4 in config nginx + php-fpm?
Try this -
viewtopic.php?p=426#p426
And please give us feedback, is this method working (i never tried).
Re: How to update php to 7.4 in nginx + php-fpm mode?
Posted: Fri Feb 12, 2021 7:06 pm
by verydima
Hm. Thanks.
I read your recommendation "install default variant with Apache." and "many other PHP software strictly require php7.3 and does not works with php7.4" And decided to reinstall the server
I have several VPS and a dedicated server - there is Vesta everywhere in the Apache + Nginx config. But I recently read that option Nginx+php-fpm is faster. So I decided to try it.
Re: How to update php to 7.4 in nginx + php-fpm mode?
Posted: Fri Feb 12, 2021 7:43 pm
by myVesta
Plus, myVesta keeps apache in mpm_event mode, which is fast as nginx.
Re: How to update php to 7.4 in nginx + php-fpm mode?
Posted: Fri Feb 12, 2021 7:48 pm
by myVesta
verydima wrote: ↑Fri Feb 12, 2021 6:49 pm
2 What do you think about these nginx configs _https://gitlab.gridpane.net/gp-public/nginx-configs ?
Never seen before

So I don't have experience.
Re: How to update php to 7.4 in nginx + php-fpm mode?
Posted: Fri Feb 12, 2021 7:49 pm
by myVesta
verydima wrote: ↑Fri Feb 12, 2021 6:49 pm
3 Can you add nginx template with restricted access to the wp-admin and wp-login.php by IP.
In Apache variant, you can do easily with .htaccess
Re: How to update php to 7.4 in nginx + php-fpm mode?
Posted: Thu Apr 22, 2021 8:47 am
by void-god
dpeca wrote: ↑Fri Feb 12, 2021 6:57 pm
verydima wrote: ↑Fri Feb 12, 2021 6:49 pm
1 How can I update PHP to 7.4 in config nginx + php-fpm?
Try this -
viewtopic.php?p=426#p426
And please give us feedback, is this method working (i never tried).
Not works, php-frm cant restart and 7.3 remained. Apache is slow for shops where more images then calculation. Even with mpm.
Re: How to update php to 7.4 in nginx + php-fpm mode?
Posted: Sat Apr 24, 2021 12:16 am
by myVesta
In default myVesta installation, images are served by nginx.
Re: How to update php to 7.4 in nginx + php-fpm mode?
Posted: Sat Apr 24, 2021 12:44 pm
by void-god
dpeca wrote: ↑Sat Apr 24, 2021 12:16 am
In default myVesta installation, images are served by nginx.
Yes, i see, thanks
Re: How to update php to 7.4 in nginx + php-fpm mode?
Posted: Wed Sep 28, 2022 2:51 am
by lonjoe
void-god wrote: ↑Thu Apr 22, 2021 8:47 am
dpeca wrote: ↑Fri Feb 12, 2021 6:57 pm
verydima wrote: ↑Fri Feb 12, 2021 6:49 pm
1 How can I update PHP to 7.4 in config nginx + php-fpm?
Try this -
viewtopic.php?p=426#p426
And please give us feedback, is this method working (i never tried).
/etc/apt/trusted.gpg.d/php.gpg: Permission denied