Question
How do I protect php.ini from publicly being viewed?
Answer
Add the following code to your site's .htaccess to prevent your php.ini from being viewed in a browser.
<Files php.ini>
Order allow,deny
Deny from all
</Files>
Still need help?
If you need further assistance than this entry provided, please, do open up a support ticket, we are here to help you out