Title: Php 7.04
Last modified: August 31, 2016

---

# Php 7.04

 *  [BestLand](https://wordpress.org/support/users/daitrannguyen/)
 * (@daitrannguyen)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/php-704/)
 * My website [Vườn rau đà lạt](http://vuonraudalat.com)
    I can’t use Image Cleanup
   with php 7.04
 * [https://wordpress.org/plugins/image-cleanup/](https://wordpress.org/plugins/image-cleanup/)

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

 *  [Einkoro](https://wordpress.org/support/users/einkoro/)
 * (@einkoro)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/php-704/#post-7229816)
 * I’ve created a fork of the plugin with a fix for the PHP version check to support
   7.0+ that you could try:
    [https://github.com/Einkoro/wp-image-cleanup](https://github.com/Einkoro/wp-image-cleanup)
 * Considering the plugin has been inactive for 2 years I wouldn’t be surprised 
   if you encounter other issues though. Let me know if you encounter any and I 
   can take a look at it. Highly recommend backing up before you do anything after
   indexing regardless.
 *  [thansau239](https://wordpress.org/support/users/thansau239/)
 * (@thansau239)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/php-704/#post-7229832)
 * the same issue with my blog [Du lịch giá rẻ](http://dulichre.org)
 *  [Theunknown1](https://wordpress.org/support/users/deexgnome/)
 * (@deexgnome)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/php-704/#post-7229833)
 * Thanks a lot for the fix Einkoro 🙂
 *  [carobauque](https://wordpress.org/support/users/carobauque/)
 * (@carobauque)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/php-704/#post-7229844)
 * Hi, the same problem here but with PHP 7.0.6
    My website is [Delft MaMa](http://delftmama.nl)
 *  [lpstln](https://wordpress.org/support/users/lpstln/)
 * (@lpstln)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/php-704/#post-7229852)
 * Hello,
 * Same for me PHP 7.0.6+ don’t work :/ btw if you know some other plugins that 
   can delete mass of unused/unattached images (40000+) I’ll take it x)
 * Thanks
 *  [ufukart](https://wordpress.org/support/users/ufukart/)
 * (@ufukart)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/php-704/#post-8947274)
 * Open `image-cleanup.plugin.php`.
    Go to 1222. row. Change `if ($version[0] >=
   5 && $version[1] >= 1)` to `if ($version[0] >= 5)` resolved.

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

The topic ‘Php 7.04’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/image-cleanup_e2e2e2.svg)
 * [Image Cleanup](https://wordpress.org/plugins/image-cleanup/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/image-cleanup/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/image-cleanup/)
 * [Active Topics](https://wordpress.org/support/plugin/image-cleanup/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/image-cleanup/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/image-cleanup/reviews/)

 * 6 replies
 * 7 participants
 * Last reply from: [ufukart](https://wordpress.org/support/users/ufukart/)
 * Last activity: [9 years, 3 months ago](https://wordpress.org/support/topic/php-704/#post-8947274)
 * Status: not resolved