[10-directadmin.ini] ioncube + opcache?

webunity

Verified User
Joined
Sep 23, 2014
Messages
49
A customer asked us to install and harden owncloud. It recommends a memory cacher. Since we are running PHP 5.5.x we thought OpCache was the way to go.
So after enabeling opcache our server by adding the configuration values to php.ini PHP wouldn't execute anymore.

We found the reason for it that the php.ini file is loaded before the 10-directadmin.ini file.

We have 2 possible solutions:
1) Remove the iconcube configuration values from 10-directadmin.ini and place them before the OpCache.so in php.ini (CGI and CLI)
2) Leave the iconcube configuration values inside 10-directadmin.ini and add the OpCache settings to 10-directadmin.ini

With regards of upgrading, what is the preferrerd method? I am guessing 2, but i don't know if the opcache settings would then be removed if i update ioncube..
 
Last edited:
Back
Top