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

v20 PHP-tidy not enabled by default #16

Open
JonBendtsen opened this issue Sep 18, 2024 · 4 comments
Open

v20 PHP-tidy not enabled by default #16

JonBendtsen opened this issue Sep 18, 2024 · 4 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@JonBendtsen
Copy link
Contributor

MAIN_RESTRICTHTML_ONLY_VALID_HTML_TIDY = Undefined (Recommended: 1) - Module "php-tidy" must be enabled (currently: Not available)

V20 dolibarr image.

@mathieupotier
Copy link
Contributor

@JonBendtsen which module are you refering too ?
I don't have this on my instance ...

@creekorful what about having it loaded by default or having an extra ENV_VAR at runtime for enabling it on container run...
I think this image should ship with the minimal loaded by default (to optimise the runtime) and let people to enable php_module (if available) by setting an env_var...
I think about this operation in docker-run init script ...

echo "[INIT] => update PHP Config ..."

@JonBendtsen
Copy link
Contributor Author

@JonBendtsen which module are you refering too ? I don't have this on my instance ...

yeah, sorry about not being clear. I think that this is once again:

Home, Admin Tools, About Security page, About PHP or About performance pages

@JonBendtsen
Copy link
Contributor Author

this is from /admin/system/security.php?mainmenu=home&leftmenu=admintools

Home, Admin Tools, About Security

@creekorful
Copy link
Member

@creekorful what about having it loaded by default or having an extra ENV_VAR at runtime for enabling it on container run...

I think this image should ship with the minimal loaded by default (to optimise the runtime) and let people to enable php_module (if available) by setting an env_var...

I think core features would indeed benefit from being directly integrated into the image and should work out of the box.

For other features or specific needs I think this could be a good idea to add such loading mechanism to keep the image size and attack surface low, but I am quite worried about the implementation "cost".

What does the two of you think about this feature ? Should it be core or nah?

Cheers

@creekorful creekorful added enhancement New feature or request question Further information is requested labels Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants