mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 05:49:26 +08:00
Update opcache.sh
This commit is contained in:
@@ -51,7 +51,7 @@ Install_lib()
|
||||
echo "[opcache]" >> $serverPath/php/$version/etc/php.ini
|
||||
|
||||
if [ "$version" == "85" ];then
|
||||
echo "no zend_extension"
|
||||
echo "Force enable opcache in PHP 8.5+"
|
||||
else
|
||||
echo "zend_extension=${LIBNAME}.so" >> $serverPath/php/$version/etc/php.ini
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user