DaSilva Posted July 29, 2019 Posted July 29, 2019 Hi, I currently have the problem that certain php variables are not loaded by Froxlor. Only when I write them into the Conf. For example, I wanted to set this variable. opcache.file_cache = """ This only works if I enter it in this file. /etc/php/7.3/mods-available/opcache.ini Do you have any idea why?
d00p Posted July 29, 2019 Posted July 29, 2019 mod_php or fcgid or PHP-FPM? For mod_php you need to edit the one and only php.ini or use .htaccessÂ
DaSilva Posted July 29, 2019 Author Posted July 29, 2019 13 minutes ago, d00p said: mod_php or fcgid or PHP-FPM? For mod_php you need to edit the one and only php.ini or use .htaccess Sorry, I forgot. It's PHP-FPM. And in the Froxlor GUI it doesn't work. The variable in Froxlor is in the screenshot only as an example. Unfortunately it doesn't work there. Here the screenshots as I mean it.
d00p Posted July 29, 2019 Posted July 29, 2019 There's a setting for available directives as froxlor needs to know about them and whether they are value/admin_value/flag/admin_flag, see settings -> fpm
DaSilva Posted July 29, 2019 Author Posted July 29, 2019 Great, I really hadn't thought of that! They were really missing. For others, these variables have to be entered in Froxlor. php_admin_flags opcache.file_cache_only opcache.enable_cli opcache.enable_file_override php_admin_values opcache.file_cache
Question
DaSilva
Hi, I currently have the problem that certain php variables are not loaded by Froxlor. Only when I write them into the Conf.
For example, I wanted to set this variable.
opcache.file_cache = """
This only works if I enter it in this file.
/etc/php/7.3/mods-available/opcache.ini
Do you have any idea why?
4 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.