GD uses the function imagerotate. According to this answer on stackoverflow the function isn’t included on some OS’es because of a memory leak. This problem is also mentioned as comment in the WordPress code:
On some setups GD library does not provide imagerotate() – Ticket #11536
The ticket number belongs to the WordPress Ticket #11536.
As a solution you can try to use the workaround mentioned in the stackoverflow answer or you can install php-imagick as an alternative to gd, which is also supported by WordPress.
Related Posts:
- How to make a image-size selected by default in Media upload – WP v3.5
- Uploading media with the REST API
- Remove “Insert from URL” link in Media upload – WP 3.5
- Decrease file size upload in Media
- Adding a custom image upload size and making it selected by default?
- Set media upload attachment link to none and hide it in WP v3.5
- Hide old attachments from wp media library
- Failed media upload: “The uploaded file was only partially uploaded.”
- PHP/Manual use of images? – 2 Questions
- Add custom image sizes to media uploader
- How to upload imagick resource to media in wordpress
- Upload images and attachments from frontend form
- WordPress media upload “HTTP error”
- How do I get images (with a thumbnail preview) to show in search results?
- login wp impossible
- wp-admin/index.php gives a “500 Internal Server Error [closed]
- How to get media objects
- Vagrantpress + composer
- How do you use WP slugs for PDF files / media?
- Apache /Ubuntu server not running WordPress installation, outputting PHP code like HTML
- PHP Warning: chmod(): Operation not permitted in class-wp-filesystem-direct.php on line 173
- What is the alternative to “ when it comes to calling Media (image) files in the ‘attachment.php’ file?
- Accessing an image folder inside public web directory
- How do I get around “Sorry, this file type is not permitted for security reasons”?
- WordPress automatically adds links to uploaded images
- Call to undefined function mysql_connect() After upgrading PHP 7.1 to 7.3
- Returning data instead of echoing/printing
- Does WordPress create a new Linux user when creating a new WordPress blog?
- WordPress import media error
- WordPress get_media_embedded
- Get featured image with custom size outside WordPress
- Custom upload folder
- PHP Parse error on WP-CLI, not on web server
- Unexpected token ILLEGAL, even on clean install – jquery-issue?
- Convert all uploaded PNG files to PNG-8 format
- How to decrease the max file upload size without using php.ini or htaccess?
- Hide media for non logged in users
- Infinite Loop in WordPress Installation
- Hook on file upload
- How to edit content in WordPress and the Polylang – plugin? – with demosite
- How come there is no error if I upgrade WordPress core after locking .htaccess permissions to 644?
- Attaching an upload to a user
- Strange special character/Latin characters
- How do I prevent a folder from reappearing in my home directory?
- wp_delete_attachment not working with multiple values
- Can’t get data from audio media
- Get posts associated with media attachment
- magic-quotes – breaks admin totally
- show/hide attachments
- Can’t upload files
- Edit Image/Image Details – Replace button missing
- how to put shortcode to the top of the page – theme 2014
- An automatic way to crop images of different sizes
- How to automatically convert images to WebP on WordPress?
- kali php problem [closed]
- Multisite get_home_url(); – Getting URL for current site
- Display posts by month
- Shortcode created to check language not works
- Retrieving and Displaying Data From a Table
- On update to 3.04 site started recording accents as “á” and “á”, what to do?
- Listing all sub-pages?
- Use composer to load custom classes [closed]
- Use two WP Query in template
- apache cpu over 70% on localhost
- How is WordPress manipulating the posts like there are folders?
- conditional statement for custom taxonomy
- Adding subdomain to home_url for “add_menu_page”
- How to make a search button that will search my website?
- get_the_tags() not iterating through for/while loop, but will with foreach
- Iterate through posts based on array of categories
- My page.php shows the index.php
- How create a Shortcode with hover and complex options
- Custom Menus: dynamic highlighting problem with custom home link
- How to set up a If is_singular statement?
- How to avoid duplicates when creating recent network posts
- Referencing Images in javascript to display on wordpress page
- Add meta tags to a custom header
- Function sanitize_title() does not appear to be working
- Nav menu from plugin to theme
- How to prevent a function from running based on host (ie web vs local)?
- Delete images from media library when user deletes an image from ACF Gallery
- Array data not saving to specified sections. How to make seting independantly?
- Integrate otp in my custom singup form
- Change category thumbnail size
- Unable to retrieve get_author_posts_url
- Polylang and template files
- Add custom ID attribute to all woocommerce products on archive pages
- problem in using wpdb->prepare and a string placeholder
- Need help with PHP functions
- How do you detect if a specific word is at the end of a the_title()
- featured post as div background
- Combining fancybox with multiple thumbnail plugin
- Highlight posts currently being edited on multiple editor site?
- How to check “From Email” via WordPress before an email is sent
- Php echo into tag
- How to use url and amin-ajax.php
- WP – Ajax call back data printed in the console.log
- How to automatically flush permalinks?
- “Cannot start session when headers already sent” when attempting session
- Adding a variable to some PHP code with gettext