-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for php-fpm.conf #74
Comments
Is there a way to detect when the FPM is in use automatically? It's be nice if it tried to detect that too (and maybe required a path to the conf file). |
Well, in my case, I simply gave the path to the php-fpm.conf file, but the report was the same as for php.ini, so the scanner has ignored the settings found there. One problem is that those files contain several pools and each one can have different PHP settings, so it can be quite complex to report back. Each cell giving advice should have a note about the setting for each pool. Per example, php.ini has no open_basedir setting, but each pool as a path so that users can't access files outside of their home directory FAIL | WARNING | | open_basedir | [apps] Path is set, [special] Path is set, [php.ini] Warning... |
Hmm, interesting....I'll have to check that out. thanks for the heads up! |
Here is a template to give you an idea of what it looks like
The bit at the end is where all the custom PHP values will be added |
Are they always prefixed with that "php_admin_value"? |
You also have the boolean values |
cool, thanks |
Quite a few settings are defined per pool when using PHP-FPM, so only scanning php.ini doesn't give the full picture.
The text was updated successfully, but these errors were encountered: