Fixing PHP Security Holes using PhpSecInfo



Lately, I have come across an amazing tool PHPSecinfo that allows us to fix PHP security holes by scanning and then recommending changes in php.ini.

PhpSecInfo is an equivalent to the phpinfo() function that reports security information about the PHP environment, and offers suggestions for improvement.

It does not do any kind of code auditing, but recommends loop in php configuration.

It can be installed by downloading it and then putting it in the folder that is accessible from the browser. Opening it on the browser (just like phpinfo() would show recommendations).

PHPSecInfo: PHP Security InfoPHP Security before any changes to php.ini

PHPSecInfo: PHP Security Info: PHPSecInfo: PHP Security InfoPHP Security after changes to php.ini