Increase PHP security with PHPSecInfo
Overview
PHPSecInfo provides the security equivalent of the phpinfo() function. It is not a replacement for secure development techniques, and will not modify your code or environment.
Instructions
If you would like to install this application, follow the steps below.
- Download PHPSecInfo from http://phpsec.org/projects/phpsecinfo/
- Extract the files and folders from the zip file you just downloaded.
- Rename the extracted folder to phpsecinfo.
-
Upload the renamed folder to the root directory for your domain using SFTP/FTPusing SFTP/FTP. The path should look be similar to the following:
/home/00000/domains/example.com/html/phpsecinfo
/var/www/vhosts/example.com/httpdocs/phpsecinfo
NOTE:
Be sure to replace 00000 with your site number, and replace example.com with your domain name.
-
Now, simply open your browser and browse to http://example.com/phpsecinfo. Figure 1 is for the (gs) Grid-Service using the default php.ini file:

Figure 1: A sample output.
Resources
User Comments
No visitor comments posted. Post a comment
Fields marked with an asterisk(*) are required. Comment on this article