I do not know if is done correctly but... I have upgraded to 5.6 and apparently all looks good. HOPE!!!
here is what I have done. I DO NOT TAKE ANY RESPONSIBILITY IF YOUR SERVER BREAKS UP... DO IT AT YOUR OWN RISK.
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install -y php5.6 php5.6-mcrypt php5.6-mbstring php5.6-curl php5.6-cli php5.6-mysql php5.6-gd php5.6-intl php5.6-xsl php5.6-zip libapache2-mod-php5.6
sudo a2dismod php5
sudo a2enmod php5.6
sudo service apache2 restart
Recompile suhosin
cd /tmp
wget -nv -O suhosin.zip https://github.com/stefanesser/suhosin/a...0.9.37.zip
unzip -q suhosin.zip
rm -f suhosin.zip
cd suhosin-suhosin-0.9.37
phpize &> /dev/null
./configure &> /dev/null
make &> /dev/null
sudo make install
cd ..
rm -rf suhosin-suhosin-0.9.37
here is what I have done. I DO NOT TAKE ANY RESPONSIBILITY IF YOUR SERVER BREAKS UP... DO IT AT YOUR OWN RISK.
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install -y php5.6 php5.6-mcrypt php5.6-mbstring php5.6-curl php5.6-cli php5.6-mysql php5.6-gd php5.6-intl php5.6-xsl php5.6-zip libapache2-mod-php5.6
sudo a2dismod php5
sudo a2enmod php5.6
sudo service apache2 restart
Recompile suhosin
cd /tmp
wget -nv -O suhosin.zip https://github.com/stefanesser/suhosin/a...0.9.37.zip
unzip -q suhosin.zip
rm -f suhosin.zip
cd suhosin-suhosin-0.9.37
phpize &> /dev/null
./configure &> /dev/null
make &> /dev/null
sudo make install
cd ..
rm -rf suhosin-suhosin-0.9.37