Hi,
I try to add my additional .ini files to php (open_basedir.ini in my case with open_basedir paths)
I created file: open_basedir.ini in directory: /opt/cpanel/ea-php71/root/etc/php.d/
And this is something strange:
After I copy this file, it will not show in phpinfo()
After some times (I don't know exactly how log does it takes, but let's say: next day) it was visible in phpinfo():
"Additional .ini files parsed" section shows my file: open_basedir.ini
and in open_basedir section there was my path (read from my file).
But question is: why it is such delay /cache ? or something else, and how can I ask apache to read my ini file immediately ?
Even when I remove something from original files in this directory (/opt/cpanel/ea-php71/root/etc/php.d/) changes are not visible right now in public. Mybe it will help.
I'm using CloudLinux and EA4.
I don't have any php.ini or .user.ini file in this directory. If it matters ?
How to force apache to read my ini file ?
W.
I try to add my additional .ini files to php (open_basedir.ini in my case with open_basedir paths)
I created file: open_basedir.ini in directory: /opt/cpanel/ea-php71/root/etc/php.d/
And this is something strange:
After I copy this file, it will not show in phpinfo()
After some times (I don't know exactly how log does it takes, but let's say: next day) it was visible in phpinfo():
"Additional .ini files parsed" section shows my file: open_basedir.ini
and in open_basedir section there was my path (read from my file).
But question is: why it is such delay /cache ? or something else, and how can I ask apache to read my ini file immediately ?
Even when I remove something from original files in this directory (/opt/cpanel/ea-php71/root/etc/php.d/) changes are not visible right now in public. Mybe it will help.
I'm using CloudLinux and EA4.
I don't have any php.ini or .user.ini file in this directory. If it matters ?
How to force apache to read my ini file ?
W.