Skip to content
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

Add easy "debug mode" switch for php override rules to CP UI #51

Open
Xunnamius opened this issue Sep 8, 2023 · 1 comment
Open

Add easy "debug mode" switch for php override rules to CP UI #51

Xunnamius opened this issue Sep 8, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@Xunnamius
Copy link
Owner

Xunnamius commented Sep 8, 2023

php_admin_value error_reporting -1
php_admin_value error_log "/home/X.com/logs/X.com.php.error_log"
php_admin_value display_errors "on"
php_admin_value display_startup_errors "on"
php_admin_value log_errors "on"

Note sure about that error_log line, might be contingent on a different value for log_errors.

Nginx should also be updated:

fastcgi_intercept_errors off;
proxy_intercept_errors off;

Proper values are "off" for debugging (or if you trust applications to generate their own decent error pages) and "on" for production (i.e. all errors hidden).

@Xunnamius Xunnamius added the enhancement New feature or request label Sep 8, 2023
@Xunnamius
Copy link
Owner Author

Maybe a whole debug view where switches can be toggled so that the system spits out debug information about CP itself and what it's doing/trying to do (like when creating a site), for OLS (especially rewrites), etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant