Page 1 of 1

GD Library for image processing

Posted: Wed Apr 21, 2021 10:14 am
by esca
Our NextGen Gallery WordPress plugin stopped generating thumbnail images upon image upload. Troubleshooting this plugin shows it needs GD Library enabled and MySQL 5.6. Sonic is still running MySQL 5.5. But I wanted to confirm GD Library was installed and/or up-to-date. Called tech support and they said they couldn't install and they also confirmed they took away shell access for users so I can't install myself. Anyone have any suggestions?

Have already enabled/disables the plugin. Turned off other plugins. And cleared image cache within the plugin itself. Updated PHP to 7.4.3 and enabled mod_rewrite Apache module via .htaccess. Confirmed /wp-content directory is set to 755 permissions.

Re: GD Library for image processing

Posted: Mon Apr 26, 2021 6:21 pm
by joemuller
Hi,

The GD Library should be available under PHP 7. As for the MySQL version, we currently have the latest patched 5.5 release installed, but will likely upgrade to at least MySQL 5.6 in the future as various hardware and software upgrades are scheduled. (Wordpress itself will run fine on MySQL 5.5, they just recommend 5.6 for better performance in some cases.)

Concerning shell access, you should still be able to login to shell.sonic.net over SSH using your sonic username and password. This will allow you access to your web hosting files (under the public_html folder) if you prefer to work with them through a shell environment. You won't be able to add PHP libraries, but you can turn on/off PHP features through the use of a .user.ini file.

-- Joe M
Sonic System Operations

Re: GD Library for image processing

Posted: Tue May 04, 2021 3:44 pm
by esca
What location do i place the .user.ini file?

Message I am receiving from WordPress when uploading images is:
Post-processing of the image failed likely because the server is busy or does not have enough resources. Uploading a smaller image may help. Suggested maximum size is 2500 pixels.

This happens with images that at 100kb and under 1000x1000 pixels. No special characters in the file names.

Re: GD Library for image processing

Posted: Tue May 04, 2021 3:59 pm
by joemuller
You'll want to place the .user.ini file in the same directory/folder as your .htaccess file -- after that, you can add lines to it the same as you would to php.ini, and they should in most cases override the default values.

-- Joe M
Sonic System Operations