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 Web Server
  • Search

How to upgrade to php 5.4 Ubuntu 12.04 LTS

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
6 posts • Page 1 of 1
Tefka
Posts: 1
Joined: Wed Apr 16, 2014 12:10 am

How to upgrade to php 5.4 Ubuntu 12.04 LTS
  • Quote

Post by Tefka » Thu Apr 17, 2014 3:51 am

I'm a complete noob, so please go easy on me - how do I safely upgrade to php 5.4 on a fresh server, fresh install without breaking Vesta?
Top

jobarte
Posts: 15
Joined: Fri Apr 11, 2014 2:28 pm

Re: How to upgrade to php 5.4 Ubuntu 12.04 LTS
  • Quote

Post by jobarte » Tue Apr 22, 2014 8:39 pm

Hahahahah, noooob! Joke :)

To you upgrade to php 5.4 you need to add Ondřej Surý repository, look commands here:

add-apt-repository ppa:ondrej/php5-oldstable # add Ondřej Surý repository (https://launchpad.net/~ondrej/+archive/php5-oldstable) to php 5.4
apt-get update # update on repositorys
apt-get install php5 # will upgrade php5 and all dependences

On my tests this upgrade don't affected VestaCP, but I'll try again just to make sure
Top

flangefrog
Posts: 13
Joined: Tue Apr 15, 2014 1:39 pm

Re: How to upgrade to php 5.4 Ubuntu 12.04 LTS
  • Quote

Post by flangefrog » Sat Apr 26, 2014 3:00 am

Be careful if you do an apt-get upgrade, as this will upgrade Apache to 2.4 which will break VestaCP until config changes have been made.
Top

mephivio
Posts: 198
Joined: Thu Mar 27, 2014 7:35 am

Os: Debian 8x
Web: nginx + php-fpm
Re: How to upgrade to php 5.4 Ubuntu 12.04 LTS
  • Quote

Post by mephivio » Sat Apr 26, 2014 4:43 pm

but you can do it
when the script tells you a question, just select use current parameters and not the parameters coming from the packager
Top

jobarte
Posts: 15
Joined: Fri Apr 11, 2014 2:28 pm

Re: How to upgrade to php 5.4 Ubuntu 12.04 LTS
  • Quote

Post by jobarte » Sat Apr 26, 2014 10:00 pm

flangefrog wrote:Be careful if you do an apt-get upgrade, as this will upgrade Apache to 2.4 which will break VestaCP until config changes have been made.
No way, Ubuntu 12.04 don''t have apache2.4 packages, Ubuntu 14.04 have, and apache only will upgrade to apache 2.4 if he use other Ondřej Surý repository for PHP 5.5 that have apache 2.4

Look here https://launchpad.net/~ondrej/+archive/php5
Top

flangefrog
Posts: 13
Joined: Tue Apr 15, 2014 1:39 pm

Re: How to upgrade to php 5.4 Ubuntu 12.04 LTS
  • Quote

Post by flangefrog » Sun Apr 27, 2014 12:57 am

jobarte wrote:
flangefrog wrote:Be careful if you do an apt-get upgrade, as this will upgrade Apache to 2.4 which will break VestaCP until config changes have been made.
No way, Ubuntu 12.04 don''t have apache2.4 packages, Ubuntu 14.04 have, and apache only will upgrade to apache 2.4 if he use other Ondřej Surý repository for PHP 5.5 that have apache 2.4

Look here https://launchpad.net/~ondrej/+archive/php5
Sorry, I had thought that Ondřej's php5-oldstable ppa included Apache.
Top


Post Reply
  • Print view

6 posts • Page 1 of 1

Return to “Web Server”



  • 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