disable php files upload /execution
  • someone managed to upload php file under images folder and used it to hack my server,
    can you please tell me the best way to disable php uploads or disable execution of them
    thanks
  • 1 Comment sorted by
  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    place there the file .htaccess with content:

    RemoveHandler .php .phtml .php3
    RemoveType .php .phtml .php3
    php_flag engine off