How to resolve media image rotation is not supported by your web host issue for WordPress with Ubuntu?

Sometimes you will receive the error:Image rotation is not supported by your web host when you trying to edit the images in WordPress’s media section. For this issue, we can fix it with installing by PHP-GD and Imagick plugins.

1. Check the php version.

$ php -v

2. Depends on your php version you can install the following PHP-GD.

$ apt-get install php5-gd 
$ apt-get install php7-gd 

3. Install the Imagick.

$ apt-get install php-imagick

4. Last but not least, restart your nginx or apache servers.

$ sudo systemctl restart nginx
$ sudo service nginx restart
$sudo service apache2 restart

That’s it. I hope this will help. 🙂
Photo: Internet

Leave a Reply

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