WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: WP Security Scan] Feature Request - detect if php.ini is present and lock external access (2 posts)

  1. herf
    Member
    Posted 5 years ago #

    Other protection warning should be detecting the presence of php.ini in the root folder of wordpress and check the access to it from the outside world.

    Adding this to .htaccess

    <Files php.ini>
    order allow,deny
    deny from all
    </Files>

  2. herf
    Member
    Posted 5 years ago #

    i wanted to put this post in support, not in installation please move it.

Topic Closed

This topic has been closed to new replies.

About this Topic