AnsweredAssumed Answered

opcache value in config.php?

Question asked by raulpresseguer on Mar 1, 2018


We are using sugarcrm 6.5.11 in PHP 5.6 and we find that the opcache directive needs to have the value opcache.revalidate_freq equal to zero so as not to have problems with the creation of fields in the module constructor.


If in the config.php or in the config_override.php I put the following code: ini_set ('opcache.revalidate_freq', '0'); the problem is solved.
But when doing a repair of config.php or a change in the settings of sugarcrm, these two files are overwritten and eliminate the line of code.

Where and how would I have to put this opcache value in sugarcrm so that it is not deleted?
Thank you.