• Resolved Zeljko Jagust

    (@zjagust)


    Hi,

    I am using PHP-FPM with my Apache 2 server and with a combination like that all custom PHP values like “open_basedir“, “post_max_size” etc. should be placed in .user.ini file inside of docroot for each specific page. Setting those values will not work if placed inside Apache 2 vhost configuration or .htaccess file like when using libapache2-mod-php.

    The issue here is the following:
    If I create a custom phpinfo file in docroot and open it in my browser I will get master php.ini values in Core-Master Value column and override values in Core-Local Value column which are specific for my vhost (website) and are loaded form .user.ini file.

    Your Site Health plugin is showing only Master Value variables in “Site Health Info – Server” tab when compared with phpinfo results and not the ones defined in .user.ini custom file.

    This is something that can confuse site admin, and please can you fix it if possible. Thank you in advance.

    • This topic was modified 5 years, 5 months ago by Zeljko Jagust. Reason: typo
Viewing 1 replies (of 1 total)
  • Plugin Author Marius L. J.

    (@clorith)

    Hiya,

    So that’s not something we can actually control, we use the ini_get() function to pull the data, and that means whatever PHP determines is the correct value is what we will get. If you are seeing a different value from what you are expecting, it may indicate that a different configuration file is being loaded than the one you expected.

    At the bottom of the Info tab, there is a button to see the phpinfo output directly within your admin screen though, perhaps it can shine some light and show what config is being used in this situation?

Viewing 1 replies (of 1 total)
  • The topic ‘Site Health Info – Wrong Data’ is closed to new replies.