Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
$ sudo add-apt-repository ppa:ondrej/php -y
$ sudo apt-get update -y
$ sudo apt-get install php7.0-curl php7.0-cli php7.0-dev php7.0-gd php7.0-intl php7.0-mcrypt php7.0-json php7.0-mysql php7.0-opcache php7.0-bcmath php7.0-mbstring php7.0-soap php7.0-xml php7.0-zip -y
$ sudo mv /etc/apache2/envvars /etc/apache2/envvars.bak
$ sudo apt-get remove libapache2-mod-php5 -y
$ sudo apt-get install libapache2-mod-php7.0 -y
$ date
$ echo "Asia/Tokyo" | sudo tee /etc/timezone
$ sudo dpkg-reconfigure --frontend noninteractive tzdata
$ date
$ sudo apt-get install mysql-server-5.6
$ mysql --version
# 確認5.6となっていればOK
$ sudo vim /etc/php5/apache2/php.ini
#/post_max_size で検索し post_max_size = 20M へ変更
#/upload_max_filesize で検索し upload_max_filesize = 20M へ変更
$ phpmyadmin-ctl install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.