Update common.sh

pull/43/head
necro-nemesis 2 years ago committed by GitHub
parent 7ec05f5601
commit 72cdd0e2b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -417,6 +417,7 @@ function optimize_php() {
# Make sure opcache extension is turned on. # Make sure opcache extension is turned on.
if [ -f "/usr/sbin/phpenmod" ]; then if [ -f "/usr/sbin/phpenmod" ]; then
sudo phpenmod opcache sudo phpenmod opcache
echo -n "PHP OPCache enabled"
else else
install_warning "phpenmod not found." install_warning "phpenmod not found."
fi fi

Loading…
Cancel
Save