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 7 on Vesta

Debian/Ubuntu related topics
Post Reply
  • Print view
Advanced search
9 posts • Page 1 of 1
maniek015
Posts: 35
Joined: Sun Aug 21, 2016 5:35 am

PHP 7 on Vesta
  • Quote

Post by maniek015 » Sun Aug 21, 2016 6:18 pm

Hello!
It's any way to stable upragde to PHP 7 on Vesta CP on Debian server?
If it was already a topic I apologize for clone :)
Top

mehargags
Support team
Posts: 1096
Joined: Sat Sep 06, 2014 9:58 pm
Contact:
Contact mehargags
Website Skype

Os: Debian 8x
Web: apache + nginx
Re: PHP 7 on Vesta
  • Quote

Post by mehargags » Sun Aug 21, 2016 6:39 pm

You could use the Damn search... Don't mean to be rude but its rather annoying such a common task being asked so often. The Newbies should really try search and read some existing posts.

Update PHP /Ubuntu
viewtopic.php?f=11&t=12229&p=48210&hili ... ian#p48210

[SOLVED]PHP 7 and Ubuntu
viewtopic.php?f=11&t=11549&p=45046&hili ... ian#p45046

Anyways, here are the steps

Code: Select all

echo -e "\ndeb http://packages.dotdeb.org jessie all \ndeb-src http://packages.dotdeb.org jessie all" >> /etc/apt/sources.list
apt-get install ca-certificates

wget https://www.dotdeb.org/dotdeb.gpg
apt-key add dotdeb.gpg

apt-get update -y
apt-get install php7.0 php7.0-xml php7.0-zip php7.0-mysql libapache2-mod-php7.0 -y

a2dismod php5
a2enmod php7.0

systemctl restart  apache2
Top

maniek015
Posts: 35
Joined: Sun Aug 21, 2016 5:35 am

Re: PHP 7 on Vesta
  • Quote

Post by maniek015 » Sun Aug 21, 2016 7:49 pm

Sorry, but "Search..." dont't work on this forum.
This is a check step's ? All work?
Top

mehargags
Support team
Posts: 1096
Joined: Sat Sep 06, 2014 9:58 pm
Contact:
Contact mehargags
Website Skype

Os: Debian 8x
Web: apache + nginx
Re: PHP 7 on Vesta
  • Quote

Post by mehargags » Sun Aug 21, 2016 9:02 pm

It works absolutely fine. Try Searching "php7"
I got these two links from search only, don't have them bookmarked
Top

maniek015
Posts: 35
Joined: Sun Aug 21, 2016 5:35 am

Re: PHP 7 on Vesta
  • Quote

Post by maniek015 » Sun Aug 21, 2016 10:06 pm

Now it is okay, I write php 7 not php7 and maybe that I don't have results of search :)
The method of such changes PHP is safe? Future updates Vista does not overwrite the version of PHP?
Top

mehargags
Support team
Posts: 1096
Joined: Sat Sep 06, 2014 9:58 pm
Contact:
Contact mehargags
Website Skype

Os: Debian 8x
Web: apache + nginx
Re: PHP 7 on Vesta
  • Quote

Post by mehargags » Mon Aug 22, 2016 8:42 am

Yes absolutely safe. Vesta Updates/Upgrades have nothing to do with PHP version installed on your server, PHP(x) is updated/upgraded when you yum/apt update your OS.

I use the same method for 10 of my "PHP7 only" servers, however please do check all your applications thoroughly (apache error logs for your domain) to be sure there are no major compatibility problems. Wordpress and other popular & modern php frameworks should have no problems at all but still be sure.
Top

maniek015
Posts: 35
Joined: Sun Aug 21, 2016 5:35 am

Re: PHP 7 on Vesta
  • Quote

Post by maniek015 » Mon Aug 22, 2016 2:27 pm

Thank's for info. Have a nice day :)
Top

mehargags
Support team
Posts: 1096
Joined: Sat Sep 06, 2014 9:58 pm
Contact:
Contact mehargags
Website Skype

Os: Debian 8x
Web: apache + nginx
Re: PHP 7 on Vesta
  • Quote

Post by mehargags » Mon Aug 22, 2016 5:53 pm

Please mark your thread Solved and "Accept an Answer" if it is resolved for you. Gives a positive impression to other readers seeking the same question
Top

maniek015
Posts: 35
Joined: Sun Aug 21, 2016 5:35 am

Re: PHP 7 on Vesta
  • Quote

Post by maniek015 » Mon Aug 22, 2016 6:36 pm

I Mark thread as solved. Thanjs again :))
Top


Post Reply
  • Print view

9 posts • Page 1 of 1

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