Update 'RevProxyAdvanced.sh'
This commit is contained in:
@@ -212,7 +212,7 @@ apt install -y python-certbot-nginx
|
||||
apt install -y libapache2-mod-php php-fpm php-mysql php-cgi php-common php-pear php-mbstring php-curl php-gd php-intl php-soap php-xml php-xmlrpc php-zip
|
||||
|
||||
sed -i 's/;opcache.memory_consumption=128/opcache.memory_consumption=256/g' /etc/php/7.2/apache2/php.ini
|
||||
sed -i 's/;opcache.enable=1/opcache.enable=1/g' /etc/php/7.2/apache2/php.ini
|
||||
sed -i 's/;opcache.enable=1/opcache.enable=0/g' /etc/php/7.2/apache2/php.ini
|
||||
sed -i 's/;opcache.interned_strings_buffer=8/opcache.interned_strings_buffer=8/g' /etc/php/7.2/apache2/php.ini
|
||||
sed -i 's/;opcache.max_accelerated_files=10000/opcache.max_accelerated_files=50000/g' /etc/php/7.2/apache2/php.ini
|
||||
sed -i 's/;opcache.max_wasted_percentage=5/opcache.max_wasted_percentage=5/g' /etc/php/7.2/apache2/php.ini
|
||||
@@ -325,7 +325,7 @@ define('DB_COLLATE', '');
|
||||
define( 'WP_MEMORY_LIMIT', '256M' );
|
||||
define( 'DISALLOW_FILE_EDIT', true );
|
||||
#define( 'EMPTY_TRASH_DAYS', 7 );
|
||||
define( 'NOBLOGREDIRECT', 'https://$domain' );
|
||||
define( 'NOBLOGREDIRECT', 'http://$domain' );
|
||||
#define( 'FS_CHMOD_DIR', ( 0755 & ~ umask() ) );
|
||||
#define( 'FS_CHMOD_FILE', ( 0644 & ~ umask() ) );
|
||||
#define( 'WP_ALLOW_REPAIR', true );
|
||||
|
||||
Reference in New Issue
Block a user