Upgrading to php 7
Upgrading to php 7
Ubuntu 14.04
VestaCp 0.9.8-14
I would like to test out Php 7 but am having trouble upgrading. I am very new to VPS so any help would be appreciated.
I also do not wish to use a PPA
I followed the instructions to install Php7 on zends site http://php7.zend.com/install-ubuntu.php, but now apache2 will not start becuase it wont pass configtest. I checked config and all I did was add the lines mentioned in zends site. I think there is a conflict between php7 and the install php 5.5.9 by VestaCP
If anyone can provide instructions on how to install/upgrade VestaCP's install of php5 to php 7, thanks. Also I know that VestaCP has its own instance of php, I am not trying to upgrade that, just the ones for any sites added by VestaCP
Thanks,
Dan
VestaCp 0.9.8-14
I would like to test out Php 7 but am having trouble upgrading. I am very new to VPS so any help would be appreciated.
I also do not wish to use a PPA
I followed the instructions to install Php7 on zends site http://php7.zend.com/install-ubuntu.php, but now apache2 will not start becuase it wont pass configtest. I checked config and all I did was add the lines mentioned in zends site. I think there is a conflict between php7 and the install php 5.5.9 by VestaCP
If anyone can provide instructions on how to install/upgrade VestaCP's install of php5 to php 7, thanks. Also I know that VestaCP has its own instance of php, I am not trying to upgrade that, just the ones for any sites added by VestaCP
Thanks,
Dan
Re: Upgrading to php 7
You can make php 7 from source and then use as php-cgi
http://www.zimuel.it/install-php-7/ - something like this.
http://www.zimuel.it/install-php-7/ - something like this.
-
- Posts: 92
- Joined: Sat Aug 02, 2014 6:50 pm
- Os: CentOS 6x
- Web: nginx + php-fpm
Re: Upgrading to php 7
In Centos is the easiest thing in the world. Wee just need to update using the remi70 repo.
-
- Posts: 301
- Joined: Tue Dec 22, 2015 2:06 pm
Re: Upgrading to php 7
How to ? Could you please give some detailed instructions? Thank you.RevengeFNF wrote:In Centos is the easiest thing in the world. Wee just need to update using the remi70 repo.
-
- Posts: 92
- Joined: Sat Aug 02, 2014 6:50 pm
- Os: CentOS 6x
- Web: nginx + php-fpm
Re: Upgrading to php 7
Stop Apache or php-fpm
yum remove php
yum --enablerepo=remi,remi-php70 install php php-bcmath php-cli php-common php-gd php-imap php-mbstring php-mcrypt php-mysqlnd php-pdo php-soap php-tidy php-xml php-xmlrpc phpMyAdmin roundcubemail php-opcache php-xdebug php-pecl-memcached php-fpm php-devel php-pecl-imagick
Start Apache or php-fpm
yum remove php
yum --enablerepo=remi,remi-php70 install php php-bcmath php-cli php-common php-gd php-imap php-mbstring php-mcrypt php-mysqlnd php-pdo php-soap php-tidy php-xml php-xmlrpc phpMyAdmin roundcubemail php-opcache php-xdebug php-pecl-memcached php-fpm php-devel php-pecl-imagick
Start Apache or php-fpm
Re: Upgrading to php 7
RevengeFNF wrote:Stop Apache or php-fpm
yum remove php
yum --enablerepo=remi,remi-php70 install php php-bcmath php-cli php-common php-gd php-imap php-mbstring php-mcrypt php-mysqlnd php-pdo php-soap php-tidy php-xml php-xmlrpc phpMyAdmin roundcubemail php-opcache php-xdebug php-pecl-memcached php-fpm php-devel php-pecl-imagick
Start Apache or php-fpm
You dont need remove it just install as aditional and add new template and you get php 5 and 7 working on same server, some websites may not work on php 7.
Can take template or how to example here http://forum.vestacp.com/viewtopic.php?f=19&t=10854