Support / KnowledgeBase

 
Search the KnowledgeBase Search

Increase PHP security with phpsecinfo

  • Applies to: All Service Types

  • Difficulty: Easy

  • Time needed: 5 minutes

  • Tools needed: None

 

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.

  1. Download PHPSecInfo from http://phpsec.org/projects/phpsecinfo/
  2. Extract the files and folders from the zip file you just downloaded.
  3. Rename the extracted folder to phpsecinfo 
  4. 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
  5. Now simply open your browser and browse to http://mt-example.com/phpsecinfo
  6. The following page is for the (gs) Grid-Service using the default php.ini file:
    1700_1 

 

 


Notes/Supplemental Resources:


Revisions:

08-26-2009: Article Creation




User Comments

No visitor comments posted. Post a comment

Fields marked with an asterisk(*) are required. Comment on this article

Fill out the form below if you would like to comment on this article.
 
 
 

(code is not case-sensitive)
 
Submit
 
 

Continue