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
Doctor: allow_url_fopen and curl_multi_exec() #4740
Comments
Thanks for sharing. |
Sorry, my bad. I had that in the note text, but apparently did not copy it 🙄 If
|
Okay, so allow_url_fopen is used to find the latest Kimai version and the curl method to fetch the plugins. Gracias 😄 |
Why not simply write a function that checks if |
I cannot write custom code for every possible environment combination. I am catching Throwables / RuntimeExceptions in the next release, so you will see the default error once every 24 hours: Should be enough. Thanks for the report! |
Describe the issue
Under Doctor > PHP, you may want to check for the PHP setting
allow_url_fopen
, and show a warning if it's disabled.Also under Doctor > PHP, you may want to check if
curl_multi_exec()
exists. We lock down our environments quite a bit by disabling a number of functions. Currently it throws and exception if I go to System > Plugins. The exception isYou may also want to change the word Doctor to Health or Health check.
The documentation / installation instructions should probably mention these two.
I already tried
Kimai version
2.13.0
How do you run Kimai?
Virtual Server or alike
Which PHP version are you using?
8.1
Logfile
No response
Screenshots
No response
The text was updated successfully, but these errors were encountered: