Why does this package (ppa:ondrej/php5, it's PHP 5.5) break the apache2 installation?

Posted by Panique on Server Fault See other posts from Server Fault or by Panique
Published on 2013-10-20T17:44:50Z Indexed on 2014/06/11 3:29 UTC
Read the original article Hit count: 460

Filed under:
|
|

Problem

Currently this package (ppa:ondrej/php5) is quite popular for installing the latest version of PHP 5.5. I've worked quite much with it, and everything ran smoothy, on several (dev) servers. But from today (?) this breaks the apache2 installation (it empties the /etc/apache2/sites-available/default file). This is reproduceable.

Way to reproduce (on naked Ubuntu 64 12.04 LTS)

// basic installs
sudo apt-get update
sudo apt-get install apache2
sudo apt-get install php5

Apache is fine, nano /etc/apache2/sites-available/default has valid content now

// getting PHP 5.5.x
sudo apt-get install python-software-properties (for add-apt-repository)
sudo add-apt-repository ppa:ondrej/php5
sudo apt-get update
sudo apt-get install php5
// php -v shows successful install of PHP 5.5.x now

Apache is broken, nano /etc/apache2/sites-available/default is empty now

Question

Why does this happen ? According to https://launchpad.net/~ondrej/+archive/php5 there were no changes in the last few days.

© Server Fault or respective owner

Related posts about apache-2.2

Related posts about php