Last active
December 23, 2015 23:49
-
-
Save denwwer/6712284 to your computer and use it in GitHub Desktop.
Create env for wordpress (php 5) on Ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install apache2 php5 php5-mysql libapache2-mod-php5 | |
# copy wordpress to /var/www | |
# OPTINAL: change apache user | |
# sudo gedit /etc/apache2/envvars | |
# change next: | |
# export APACHE_RUN_USER=your_user | |
# export APACHE_RUN_GROUP=your_gpoup | |
sudo gedit /etc/php5/apache2/php.ini | |
# add extension=php5-mysql.so below "Dynamic Extensions" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment