Creating php.ini
-
Thank you for this great plugin WebFactory. It pointed out multiple vulnerabilities, some of which I was able to fix, others I am able to live with. Two that I would like to fix but cannot seem to figure it out involve php.ini: (1) Server response headers contain detailed PHP version info; and (2) expose_php PHP directive is turned on.
I went to cPanel file manager, no php.ini anywhere. Created it in my root directory /home/[my-cPanel-username], with these two lines:
expose_php = off
allow_url_include = offNo luck. Added this to my htaccess:
suPHP_ConfigPath /home/[my-cPanel-username]/php.ini
Still no luck. Any advice will be gratefully appreciated.
The topic ‘Creating php.ini’ is closed to new replies.