Linux 4 All

Best Linux tricks source

You can avoid your server being compromised by simply disabling PHP execution for upload folders. By default those folders should only contain documents and images, thus PHP execution should not be allowed in there. Here is how:

For mod_php:


php_flag engine off

For fastcgi:


    AddHandler /dev/null .php

Restrict access to whatever.php.old or similar:


    Order allow,deny
    Deny from all
    Satisfy All

Find all Plesk's databases and login credentials arrow-right
Next post

arrow-left How To get Plesk email accounts and passwords
Previous post

Leave a Reply

Your email address will not be published. Required fields are marked *