• I’ve been trying PHP 7.0 & 7.1, and have been excited by the notable speed increases in load times for my WordPress sites.

    However I’ve seen various issues: older themes throwing obscure errors, and newer themes with sliders or other custom home page elements dropping those elements.

    And for media uploads, instead of generating the familiar Full Size / Large / Medium / Thumbnail, I only get the Full Size option.

    I tried:
    PHP 7.0
    2017 Theme
    All Plugins Disabled
    WP 4.7.5
    Softaculous Installation
    Installed on LiquidWeb Managed VPS Hosting

    and the only media size generated is Full size, no Large-Medium-Thumbnail.

    If I drop down to PHP 5.6, everything works as expected.

    I’ve also tried using the Regenerate Thumbnails plugin – if you run it under PHP 7.1 or 7.0 it claims to succeed, but it doesn’t actually do anything. If you run it under PHP 5.6, then it not only claims to succeed, but it does generate a full set of thumbnails.

    • This topic was modified 7 years, 6 months ago by Glenn Zucman.
    • This topic was modified 7 years, 6 months ago by Glenn Zucman.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    if the derivative images are not being generated, you probably did not install the php libraries for GD for PHP 7.

    Thread Starter Glenn Zucman

    (@gzucman)

    Thanks Steve!

    No, I definitely didn’t do that. I just used cPanel > MultiPHP Manager to set the PHP version. IDK there was anything else to install.

    Can you point me to any good documentation on how/what to install for GD?

    TY!

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    What operating system are you using? I don’t use cPanel based systems.

    Thread Starter Glenn Zucman

    (@gzucman)

    It’s Linux. I can ask tech support about installing php libraries for GD for PHP 7.

    Maybe the bigger question is that I didn’t realize that running WP w PHP 7 was more complicated than just running PHP 7 — are there other libraries beside GD that I need for WP on PHP 7?

    Thank you for your help!!

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    >> It’s Linux <<

    CentOS? Fedora? Debian? Ubunto? ArchLinux? There are many flavors. As your tech support folks.

    On CentOS 7, these are the PHP 7 libraries I have installed, using the ius repository for PHP 7.

    $ rpm -qa |grep php
    php-tcpdf-6.2.13-1.el7.noarch
    php70u-json-7.0.18-1.ius.centos7.x86_64
    php70u-mbstring-7.0.18-1.ius.centos7.x86_64
    php-fedora-autoloader-1.0.0-1.el7.noarch
    php-tcpdf-dejavu-sans-fonts-6.2.13-1.el7.noarch
    php70u-pecl-imagick-3.4.3-1.ius.centos7.x86_64
    phpMyAdmin-4.4.15.10-1.el7.noarch
    php-php-gettext-1.0.12-1.el7.noarch
    php70u-common-7.0.18-1.ius.centos7.x86_64
    php70u-cli-7.0.18-1.ius.centos7.x86_64
    php70u-mysqlnd-7.0.18-1.ius.centos7.x86_64
    php70u-xml-7.0.18-1.ius.centos7.x86_64
    php70u-fpm-7.0.18-1.ius.centos7.x86_64
    mod_php70u-7.0.18-1.ius.centos7.x86_64
    php70u-process-7.0.18-1.ius.centos7.x86_64
    php70u-gd-7.0.18-1.ius.centos7.x86_64
    php70u-tidy-7.0.18-1.ius.centos7.x86_64
    php70u-pear-1.10.4-1.ius.centos7.noarch
    php-pear-Net-Curl-1.2.5-10.el7.noarch
    php70u-pdo-7.0.18-1.ius.centos7.x86_64
    php70u-devel-7.0.18-1.ius.centos7.x86_64
    php70u-opcache-7.0.18-1.ius.centos7.x86_64
    php70u-soap-7.0.18-1.ius.centos7.x86_64
    php70u-bcmath-7.0.18-1.ius.centos7.x86_64
    

    Last I checked, a few days ago, GD does not offer PHP7 on any hosting plan. Please clarify.

    https://www.godaddy.com/community/cPanel-Hosting/PHP7-Update/td-p/39347

    I would move my sites to a better host.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘PHP 7.x & Media Uploads’ is closed to new replies.