Last Updated: February 25, 2016
·
2.349K
· pete-otaqui

Upgrade PHP and others within a Cloud9 workspace

Cloud9 is a cool online editor which comes with the ability to run all sorts of languages within your local workspace. Unfortunately you don't always get the latest version of things, for example the default version of php is 5.3.

Although it's not obvious, you can upgrade all sorts of things within your workspace using the "nada-nix" package manager.

Within c9, and the terminal, you can use the following command to see the available packages:

nada-nix list

And this to upgrade php (the version of PHP 5.4 at the time of writing is php-5.4.14, and you need the full package name from the list):

nada-nix -i php-5.4.14

1 Response
Add your response

Hi, it doesn't seem to work for me, still version 5.3.3:
$ php -v
PHP 5.3.3 (cli)...
Is there anything else to do to get it working?

over 1 year ago ·