cd ~ wget [url]http://cn2.php.net/distributions/php-5.4.0.tar.bz2[/url] tar -xf php-5.4.0.tar.bz2 cd php-5.4.0/ ./configure sudo make && sudo make install