-
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -195,6 +195,9 @@ sed -i "s|post_max_size =.*|post_max_size = 110M|g" /etc/php/"$PHPVER"/fpm/php.i | |
sed -i "s|cgi.fix_pathinfo =.*|cgi.fix_pathinfo=0|g" /etc/php/"$PHPVER"/fpm/php.ini | ||
sed -i "s|date.timezone =.*|date.timezone = Europe/Stockholm|g" /etc/php/"$PHPVER"/fpm/php.ini | ||
|
||
# Make sure the passwords are the same, this file will be deleted when Redis is run. | ||
check_command echo "$REDIS_PASS" > $REDISPTXT | ||
|
||
# Install Redis | ||
run_static_script redis-server-ubuntu | ||
|
||
|
@@ -312,9 +315,6 @@ define( 'WP_DEBUG', false ); | |
define( 'WP_MEMORY_LIMIT', '128M' ); | ||
PHP | ||
|
||
# Make sure the passwords are the same, this file will be deleted when Redis is run. | ||
check_command echo "$REDIS_PASS" > $REDISPTXT | ||
|
||
# Install Wordpress | ||
check_command wp_cli_cmd core install --url=http://"$ADDRESS"/ --title=Wordpress --admin_user=$WPADMINUSER --admin_password="$WPADMINPASS" [email protected] --skip-email | ||
echo "WP PASS: $WPADMINPASS" > /var/adminpass.txt | ||
|