[wp-trac] [WordPress Trac] #41973: HTTP Error when uploading images on PHP 7.1.7

WordPress Trac noreply at wordpress.org
Thu Dec 28 14:40:46 UTC 2017


#41973: HTTP Error when uploading images on PHP 7.1.7
-------------------------------+------------------------------
 Reporter:  robhindle          |       Owner:  joemcgill
     Type:  defect (bug)       |      Status:  reopened
 Priority:  high               |   Milestone:  Awaiting Review
Component:  Media              |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------

Comment (by mbeerli):

 > Create file called .user.ini in root firectory of wp installation (if it
 doesn’t already exist.)
 > memory_limit = 128M
 > max_execution_time = 300
 >
 This does not solve the issue. The issue is resolved by unticking the
 option in php option of hosting provider called "imagick". see screenshot
 here https://core.trac.wordpress.org/ticket/42843
 and what you are referencing is in php.ini
 Which I already have:
 max_execution_time    = 600;  Maximum execution time of each script, in
 seconds
 max_input_time        = 600;  Maximum amount of time each script may spend
 parsing request
 memory_limit          = 128M; Maximum amount of memory a script may
 consume (8MB) default
 upload_max_filesize   = 64M;  The maximum size of an uploaded file.
 post_max_size         = 64M;
 mysql.connect_timeout = 120;

--
Ticket URL: <https://core.trac.wordpress.org/ticket/41973#comment:31>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list