How-To Opcache settings how to make permanent changes with custombuild.

Kronus

Verified User
Joined
May 31, 2007
Messages
48
Hope this helps some. I run Nextcloud on a couple of my servers and I get a warning when using the opcache settings that custombuild uses.
By default custombuild uses the settings in the /usr/local/directadmin/custombuild/configure/opcache/opcache.ini file so to make the changes permanent after running ./build rewrite_confs command you need to make a addition to the custom/ folder.

First you copy file over.

Code:
cd /usr/local/directadmin/custombuild
mkdir -p custom/opcache
cp -p configure/opcache/opcache.ini custom/opcache/opcache.ini
Then make and save any changes to opcache.ini
Code:
nano custom/opcache/opcache.ini
Then run
Code:
./build opcache

Any changes in opcache setting will now survive any updates
 
Last edited:
Top