Oct 4, 2011

installing php/apache from source


I’ve just made a new instance via AWS EC2 – opting for the most recent stable release of ubuntu – 11.04. I now need to install the latest versions of PHP and Apache. I’ve run an apt-get update etc..

Unfortunately I require an even newer version of PHP – which isn’t available via apt-get.

I’ve tried compiling php 5.3.8 via source, but I’ve had lots of problems.

My question is, should I continue down this route? Or is there an alternative? I’ve seen posts on here about alternative repository lists.. Can someone point me in the right direction, that would be a massive help! thanks


Take a look at dotdeb repository.

Related posts:

  1. Installing PHP 5.2.1 with Apache 2.2.x in Windows
  2. How to install PHP from source with latest cURL package on Linux?
  3. Installing mysql from source or using apt-get?
  4. After installing apache, what is the right way to set up PHP?
  5. Getting PHP to work with apache to run .php files through browser

Leave a comment