How to update php 5.3 to 5.x.x or stable once

Hi There,

I am running my system with Apache on Linode.

My System Details:

root@li795-236:~# lsb_release -a

No LSB modules are available.

Distributor ID: Ubuntu

Description: Ubuntu 12.04.5 LTS

Release: 12.04

Codename: precise

Current php version is: 5.3.10

root@li795-236:~# php -v

PHP 5.3.10-1ubuntu3.18 with Suhosin-Patch (cli) (built: Apr 17 2015 15:11:25)

Copyright © 1997-2012 The PHP Group

Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies

with Suhosin v0.9.33, Copyright (c) 2007-2012, by SektionEins GmbH

root@li795-236:~#

--

Q. Could you please guide me to update my server PHP version like 5.4.x / 5.5.x / 5.6.x / any of latest stable version?

Thanks in advance.

Weblizar

1 Reply

You could use a third-party repository providing a newer version of PHP. Note that Ubuntu 12.04 is end-of-life in just four months, so you should be planning your migration to a newer, supported version now.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct