Increase PHP security with phpsecinfo
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. 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/FTP. The path should look be similar to the following:
NOTE:
Be sure to replace ##### with your site number, and replace mt-example.com with your domain name.
- (gs) Grid-Service: /home/#####/domains/mt-example.com/html/phpsecinfo
- (dv) Dedicated-Virtual Server: /var/www/vhosts/mt-example.com/httpdocs/phpsecinfo
- Now simply open your browser and browse to http://mt-example.com/phpsecinfo
- The following page is for the (gs) Grid-Service using the default php.ini file:
Notes/Supplemental Resources:
- PHPSecInfo Homepage
- How can I edit php.ini on the (gs) Grid-Service?
- How can I edit php.ini on the (dv) & (dpv) Dedicated-Virtual Servers?
Revisions:
08-26-2009: Article Creation
Fields marked with an asterisk(*) are required. Comment on this article