Skip to content

Instantly share code, notes, and snippets.

@robap
Created November 6, 2011 14:14
Show Gist options
  • Save robap/1342932 to your computer and use it in GitHub Desktop.
Save robap/1342932 to your computer and use it in GitHub Desktop.
Installing non stable php on Ubuntu
cd ~
mkdir apps
mkdir apps/php
cd apps/php
wget http://downloads.php.net/stas/php-5.4.0alpha3.tar.bz2
tar -jxvf php-5.4.0alpha3.tar.bz2
cd php-5.4.0alpha3
./configure
(For me, configure complained about missing libxml2)
sudo apt-get install libxml2-dev
./configure
make
(DO NOT do make install!)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment