Apache HTTP Web ServerMay 17, 2021Creative water features and exteriorJuly 23, 2021 Published by admin@awais on May 18, 2021 Categories Web Development Tags Wp Import pro CSV Import Error in WordPress – Sorry, This File Type Is Not Permitted for Security ReasonsFix “Sorry, this file type is not permitted for security reasons” Example Commands for Permission: stat -c "%a %n" /var/www/html sudo chmod 777 /var/www/html /var/www/html Insert in Wp-Config File define('ALLOW_UNFILTERED_UPLOADS', true); stat -c “%a %n” /var/www/html/wp-config.php sudo chmod 777 /var/www/html/wp-config.php sudo nano /var/www/html/wp-config.php sudo chmod 777 /etc/php/7.4/apache2/php.ini stat -c “%a %n” /etc/php/7.4/apache2/php.ini insert in PHP.ini File ; PHP's built-in default media type is set to text/html. ; http://php.net/default-mimetype default_mimetype = "text/html, text/csv, image/jpeg, image/gif, image/png, image/bmp" service apache2 restart Share0 admin@awais Related postsMay 17, 2021Apache HTTP Web ServerRead moreMay 1, 2021Resource List for your Toolbox for Website DevelopmentRead more Leave a Reply Cancel replyYour email address will not be published. Required fields are marked *Comment * Name * Email * Website Save my name, email, and website in this browser for the next time I comment.