Support / KnowledgeBase

 
Search the KnowledgeBase Search

Increase PHP security with PHPSecInfo

  • Applies to: (gs), All (dv)

  • Difficulty: Easy

  • Time needed: 10 minutes

  • Tools needed: FTP client

 
  • Applies to: (gs)
    • Difficulty: Easy
    • Time Needed: 10
    • Tools Required: FTP client
  • Applies to: All (dv)
    • Difficulty: Easy
    • Time Needed: 10
    • Tools Required: FTP client

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.

  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/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.

  5. 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
Fill out the form below if you would like to comment on this article.
 
 
 

(code is not case-sensitive)
 
Submit
 
 

Continue