-
Notifications
You must be signed in to change notification settings - Fork 110
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
Checker for php.ini options #71
Comments
@mpociot any thoughts? |
I would like to see this added. |
There can be an issue of checking it, as the command will be run in cli, and for requests, fpm is used. But probably it is feasible, just less obvious to implement 🤷♂️ |
I run it in HTTP via |
@akalongman Can you please tell how are you using |
@sarfraznawaz2005 You have to run $output = new BufferedOutput(
OutputInterface::VERBOSITY_NORMAL,
true,
);
$kernel->call('self-diagnosis', [], $output) ( |
@akalongman Thanks. As @alexsoft pointed out we should use http kernel instead of console kernel to get correct php ini value which is expected on web (http). So not sure how I can I get value for |
@akalongman okay so this can return php.ini flags used for web/http: Thanks |
For my project I've implemented checker for php.ini options. Configuration looks like this:
If project owners will be interested, I can send PR
The text was updated successfully, but these errors were encountered: