NOTE: C9.IO DOES NOT EXIST ANYMORE, AND AS SUCH, THIS REPO IS NO LONGER MAINTAINED. HOWEVER, THE CODE DOES STILL WORK, AND YOU CAN EDIT THE CODE YOURSELF TO USE ON YOUR OWN SERVERS.
Installs PHP 7 onto your C9 IDE.
Version 1.0
To install the script then run it, just use this one liner:
git clone https://github.com/elijahcruz12/PHP-7-Installer-for-C9.IO.git && cd PHP-7-Installer-for-C9.IO/ && python c9.io.php.py
It will clone the script then run it.
To install the script use this:
git clone https://github.com/elijahcruz12/PHP-7-Installer-for-C9.IO.git
To run the installer just enter on your command line:
python c9.io.php.py
The script will run for you.
Here is the order of events that take place in the script:
- It will add the repository that has PHP7
- We will
apt-get update
- Then we will install PHP 7
- After we install that part we will move the envars file to
envars.bak
to prevent errors before changing thelibapache-mod
- Now we remove
libapache2-mod-php5
and installlibapache2-mod-php7
- Then the envars file is moved back.
- Now we test your PHP version
- And SUCCESS! You will have PHP 7 With no errors.
If you are having trouble with the script such as errors please feel free to create an issue and I will be glad to respond asap.