-
-
Notifications
You must be signed in to change notification settings - Fork 107
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
PHP Options disappearing. #899
Comments
Hello, Does this issue occur if you only use Virtualmin to change PHP execution mode/versions? Because we use different config options in Apache to enable PHP, and Virtualmin may simply not recognize your syntax. |
hello @iliajie, |
So, I've made some test.
at some point Virtualmin looses the knowledge about PHP being enabled. I suppose the check in the code is done badly as in my test I have found:
There is something I can do about this? |
Can you explain more about your use cases for:
|
This happened to me more than once on multiple servers. At first i thought it was my mistake, now I suppose there is a bug.
I periodically use virtualmin interface to check php logs, and sometimes they are simply not listed under Logs and Reports. It's like PHP is not even enabled for the domain.
I have to go to Webmin -> configuration and re enable PHP-PFM.
But PHP Was already up and working for the website, so it's like virtualmin is not able to tell it's enabled.
I'm not sure what it checks to determine if php is enabled.
I have to say that I have a second issue that maybe is related.
When I manually modify the directives (both SLL and not SLL) regarding <FilesMatch ".php"> it simply does not understand it and keep adding its lines to the config "at random times".
I change to this:
and from time to time is simply re-add its line to the config. Maybe there's a way to change this behavior I was not able to find.
My system is Ubuntu 24.04.1, Webmin 2.202 and Virtualmin 7.20.2
The text was updated successfully, but these errors were encountered: