virtualmin / virtualmin-nginx

Virtualmin plugin to allow use of nginx web server for virtual domain hosting
GNU General Public License v3.0
36 stars 13 forks source link

PHP: Logging is not enabled on creation time even if set to be enabled in templates #60

Closed iliajie closed 1 year ago

iliajie commented 1 year ago

When creating a new top-level virtual server using Create Virtual Server page and even though Default PHP log file is set to Default (logs/php_log) in templates, the error_log for PHP is never enabled on the creation time. Although, it can be manually enabled later using Server Configuration ⇾ PHP Options page, it should be enabled on virtual server creation time, according to the templates.

The issue happens for all PHP execution modes!

Also, it is worth mentioning that everything works just fine with Apache.

jcameron commented 1 year ago

Oh so this is only an issue when using Nginx?

jcameron commented 1 year ago

Oh I see the bug ... this will be fixed in the next release.

iliajie commented 1 year ago

Thanks! That fixes the problem.