Skip to content

Instantly share code, notes, and snippets.

@zc1415926
Created June 13, 2017 07:50
Show Gist options
  • Save zc1415926/7596428cdd7a2ae92de67ba08ab02836 to your computer and use it in GitHub Desktop.
Save zc1415926/7596428cdd7a2ae92de67ba08ab02836 to your computer and use it in GitHub Desktop.
cloud9 update to php7.1 and mysql5.6 tips
sudo apt-get install php-pear
pecl install pdo
pecl install pdo_mysql
extension = pdo.so
extension = pdo_mysql.so
sudo vi /etc/php/7.1/apache2/php.ini
sudo add-apt-repository ppa:ondrej/apache2
sudo apt-get update
sudo apt-get install libapache2-mod-php7.1
 ln -s /usr/include/php5 /usr/include/php
sudo apt-get install php7.1-dev
sudo apt-get install php7.1-mysql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment