Stackato 2.10.X Update to PHP 5.4

Posted by lorned on 2013-08-19 14:57
OS: All / Any | Product: Stackato | tags: 2.10.4 patch PHP stackato

As PHP 5.3 approaches end-of-life, how can I update to PHP 5.4 to continue receiving security updates?


We've created an install script to upgrade from php 5.3 to php 5.4. Since Stackato is based on Ubuntu 12.04 (LTS), and the default PHP release for 12.04 is 5.3, this script will use a non-default package repository to install 5.4. If interested, the repo being used is: The scripts required to install this on Stackato 2.10.4 can be found at:

To install, unzip the above file on all nodes running either the stager or DEA role. Once unzipped (ensure and are in the same directory), execute via './'. You should be prompted to confirm running the script, and you may be asked for the node's sudo password.

A couple notes:
-This script executes a 'kato stop' command which will interrupt all stackato processes running on the node during the install process. After executing the script you will need to run 'kato start' on the node to bring everything back up.

-Suhosin is not included or compatible with PHP 5.4:, so that functionality is lost after you upgrade.