Updating To PHP 5.4 On Ubuntu Server 12.04 LTS

If you use php web applications then your know a lot are now demanding to be updated to php 5.4 or higher. To do this in Ubuntu 12.04LTS simply do the following…

If you haven’t already used ppa then you will have to first install python software properties, make sure you’re the root user… ( sudo bash )

apt-get install python-software-properties

PHP 5.4.x run:

add-apt-repository ppa:ondrej/php5-oldstable

PHP 5.5.x run:

add-apt-repository ppa:ondrej/php5

Once you’ve added the repo simply update and upgrade current packages & distribution packages with one simple command :)

apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y

Comments

comments

Published by

Miguel

Hi, My name is Miguel Vallejo and I’m the Founder & CEO of Web Semantics (www.websemantics.com). As A Child of the internet I’m a self-taught Web Developer & Network Engineer with over 20 Years of Professional Experience, Specializing in Linux/Unix Systems (Debian, Redhat & CentOS Distributions), Virtualization (KVM & VMware). I have a passion for Network Security, Information Technology, Cloud Infrastructures(Open Stack) , open source Web Development and anything that involves technology. I speak English and Spanish fluently and have worked on and with Bilingual Infrastructures (English & Spanish). I Like challenges and hate anything mundane, I am a bit anti-social (naturally lol…). I dislike those who are dishonest and who like to take advantage of others, like Julian Assange I enjoy crushing bastards.

Leave a Reply