We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
Php7 Upgrade under Nginx + Php-fpm
Php7 Upgrade under Nginx + Php-fpm
Hello Vesta Community :)
I´m new in this forum and quite new in VestaCP and new in Linux too. I´ve been testing it some months ago but this time I´m going to use VestaCP for my production sites.
My question is about a fresh install on a Centos 6 in my VPS. I´ve installed VestaCP Nginx+Php-fpm and now I want to upgrade Php 5 to Php7.
I can´t do it. I´ve searched a lot in google. I´ve tried with several tutorials from Digitalocean and Severmom, but 99% are tutorials for VestaCP with Apache and Nginx as reverse proxy, not pure Nginx+Php-fpm.
The only easy step guide to upgrade PHP under LEMP I found on internet was this: https://www.digitalocean.com/community/ ... n-centos-7 but it doesn´t work with VestaCP.
Can you help me? Can you show me the steps to upgrade it?
Thank you
I´m new in this forum and quite new in VestaCP and new in Linux too. I´ve been testing it some months ago but this time I´m going to use VestaCP for my production sites.
My question is about a fresh install on a Centos 6 in my VPS. I´ve installed VestaCP Nginx+Php-fpm and now I want to upgrade Php 5 to Php7.
I can´t do it. I´ve searched a lot in google. I´ve tried with several tutorials from Digitalocean and Severmom, but 99% are tutorials for VestaCP with Apache and Nginx as reverse proxy, not pure Nginx+Php-fpm.
The only easy step guide to upgrade PHP under LEMP I found on internet was this: https://www.digitalocean.com/community/ ... n-centos-7 but it doesn´t work with VestaCP.
Can you help me? Can you show me the steps to upgrade it?
Thank you
Re: Php7 Upgrade under Nginx + Php-fpm
Thanks tjebbeke, it worked.tjebbeke wrote:Folow this:
https://webtatic.com/packages/php70/
I used:
Code: Select all
yum install yum-plugin-replace
yum replace php-common --replace-with=php70w-common
Thanks!
Re: Php7 Upgrade under Nginx + Php-fpm
any soluce for Jessie (Debian 8) ?
Re: Php7 Upgrade under Nginx + Php-fpm
Not, for Debian other repo and commands in terminalmephivio wrote:any soluce for Jessie (Debian 8) ?
Re: Php7 Upgrade under Nginx + Php-fpm
i got these issue when i tried to upgrade php 7 (Folow this tut https://webtatic.com/packages/php70):
Error: php-mysql conflicts with php70w-mysqlnd-7.0.3-1.w6.x86_64
Error: php70w-common conflicts with php-common-5.4.45-4.el6.remi.x86_64
then i tried remove php by this command: yum remove php*
then made a install yum..and everything is okay.
after that i login back vestacp, click on Server BUT nginx, php-fpm and named were invisiable. so i tried to start services again and everything is started EXCEPT php-fpm and name.
What can i do now? do i broke anything custom configuration by vesta?
and how do i know im running nginx only?
Error: php-mysql conflicts with php70w-mysqlnd-7.0.3-1.w6.x86_64
Error: php70w-common conflicts with php-common-5.4.45-4.el6.remi.x86_64
then i tried remove php by this command: yum remove php*
then made a install yum..and everything is okay.
after that i login back vestacp, click on Server BUT nginx, php-fpm and named were invisiable. so i tried to start services again and everything is started EXCEPT php-fpm and name.
What can i do now? do i broke anything custom configuration by vesta?
and how do i know im running nginx only?
Re: Php7 Upgrade under Nginx + Php-fpm
Check if you have apache runing
ps aux |grep httpd
If php-fpm wont start check log /var/log/php-fpm.log
ps aux |grep httpd
If php-fpm wont start check log /var/log/php-fpm.log
Last edited by skamasle on Mon Feb 29, 2016 9:16 pm, edited 1 time in total.
Re: Php7 Upgrade under Nginx + Php-fpm
it still running:
ps aux |grep httpd
root 10058 0.0 0.0 6444 716 pts/0 S+ 15:53 0:00 grep httpd
i just installed nginx+php-fpm as tut installation from vestacp.
and there is no php-fpm log file in /var/log
ps aux |grep httpd
root 10058 0.0 0.0 6444 716 pts/0 S+ 15:53 0:00 grep httpd
i just installed nginx+php-fpm as tut installation from vestacp.
and there is no php-fpm log file in /var/log
Re: Php7 Upgrade under Nginx + Php-fpm
Apache not runing, you see your grep httpd comand on output.
You use webtatic repo, maybe you have some packages yet from php 5.4 check you /etc/ini.d for php-fpm you may have php-fpm and php70-fpm
You use webtatic repo, maybe you have some packages yet from php 5.4 check you /etc/ini.d for php-fpm you may have php-fpm and php70-fpm
Re: Php7 Upgrade under Nginx + Php-fpm
so what is it? "root 10058 0.0 0.0 6444 716 pts/0 S+ 15:53 0:00 grep httpd" after i did command: ps aux |grep httpdpeih wrote:it still running:
ps aux |grep httpd
root 10058 0.0 0.0 6444 716 pts/0 S+ 15:53 0:00 grep httpd
i just installed nginx+php-fpm as tut installation from vestacp.
and there is no php-fpm log file in /var/log
how can i check nginx is running?
there is no php70-fpm, just have php-fpm in /etc/ini.d