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

How hidden PHP version? #2796

Closed
carveybunt opened this issue Dec 15, 2020 · 2 comments
Closed

How hidden PHP version? #2796

carveybunt opened this issue Dec 15, 2020 · 2 comments

Comments

@carveybunt
Copy link

carveybunt commented Dec 15, 2020

As security, I need to hidden the PHP version, but I don't where will be to set the 'expose_php Off' of 'php.ini' in the container php-fpm or workspace? Somebody was trying to do that, can share your setting? Thanks a lot for you.

@jonpage999
Copy link
Contributor

@carveybunt Hiding the version doesn't do a lot to increase your security, but the ini files all exist in the php-fpm folder. Change the ini file for the version you're running and rebuild php-fpm.

@carveybunt
Copy link
Author

@jonpage999 Thank you. I'll try it later,because I thought it was in the workspace container, so I tried to modify php.ini in the workspace container without success, so I went to ask for help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants