Title: Image Upload Issue
Last modified: April 13, 2022

---

# Image Upload Issue

 *  Resolved [sushil6295](https://wordpress.org/support/users/sushil6295/)
 * (@sushil6295)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/image-upload-issue-32/)
 * Image uploading is not supporting in php version 8.0, when i am trying to upload
   image i got critical error,Image uploading is working fine in php version 7.4.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Support [Kima Baghdasaryan](https://wordpress.org/support/users/kimabaghdasaryan/)
 * (@kimabaghdasaryan)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/image-upload-issue-32/#post-15554513)
 * Hi,
 * Please note that we do not have known issue with PHP 8. Could you please also
   provide us PHP error log of your website?
 * Thanks in advance!
 *  [robnicholson](https://wordpress.org/support/users/robnicholson/)
 * (@robnicholson)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/image-upload-issue-32/#post-15626076)
 * Same problem here… created a new Centos v7.9 VM with PHP v8.1.5, WordPress 5.9.3,
   MariaDB 10.7.3. Uploading to media library is fine but can’t get anything into
   PG. This is the error when importing from gallery:
 * [https://i.imgur.com/Lid0ODJ.png](https://i.imgur.com/Lid0ODJ.png)
 * When I try and upload a new image, it fails processing uploaded files:
 * [https://i.imgur.com/cdddcOk.png](https://i.imgur.com/cdddcOk.png)
 * I’ll enable debugging and get a log.
 * BTW – the images are appearing fine in wp-content\uploads\photo-gallery so not
   sure this is a permissions issue.
    -  This reply was modified 4 years, 1 month ago by [robnicholson](https://wordpress.org/support/users/robnicholson/).
 *  [robnicholson](https://wordpress.org/support/users/robnicholson/)
 * (@robnicholson)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/image-upload-issue-32/#post-15626115)
 * Ahh, mine might be a file size configuration problem:
 * 2022/05/08 16:33:17 [error] 11282#11282: *1149 client intended to send too large
   body: 5162392 bytes, client: 192.168.0.54, server: pilot.bollingtonbeerfestival.
   co.uk, request: “POST /wp-admin/admin-ajax.php?bw$
 * Later…
    -  This reply was modified 4 years, 1 month ago by [robnicholson](https://wordpress.org/support/users/robnicholson/).
 *  [robnicholson](https://wordpress.org/support/users/robnicholson/)
 * (@robnicholson)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/image-upload-issue-32/#post-15626128)
 * Okay, adding client_max_body_size 20M; to the NGINX configuration gets rid of
   this error but it then introduces another:
 * 2022/05/08 16:49:18 [error] 63574#63574: *1197 upstream timed out (110: Connection
   timed out) while reading response header from upstream, client: 192.168.0.54,
   server: pilot.bollingtonbeerfestival.co.uk, reque$
 * So will now look at that one…

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Image Upload Issue’ is closed to new replies.

 * ![](https://ps.w.org/photo-gallery/assets/icon-256x256.png?rev=2068745)
 * [Photo Gallery by 10Web - Mobile-Friendly Image Gallery](https://wordpress.org/plugins/photo-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/photo-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/photo-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/photo-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/photo-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/photo-gallery/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [robnicholson](https://wordpress.org/support/users/robnicholson/)
 * Last activity: [4 years, 1 month ago](https://wordpress.org/support/topic/image-upload-issue-32/#post-15626128)
 * Status: resolved