Plugin Contributor
Imagely
(@imagely)
Hi @willw9,
Can you please make sure that the php-xml has been successfully installed by running:
php -m
Also, please make sure to restart your server to see if that helps,
Mihai
Thread Starter
willw9
(@willw9)
Here’s some relevant output. I don’t think things are working:
➜ ~ php -v
PHP 5.6.37-1+ubuntu16.04.1+deb.sury.org+1 (cli)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
with Xdebug v2.5.5, Copyright (c) 2002-2017, by Derick Rethans
➜ ~ php7.0 -m
[PHP Modules]
calendar
Core
ctype
date
exif
fileinfo
filter
ftp
gettext
hash
iconv
json
libxml
openssl
pcntl
pcre
PDO
Phar
posix
readline
Reflection
session
shmop
sockets
SPL
standard
sysvmsg
sysvsem
sysvshm
tokenizer
xdebug
Zend OPcache
zlib
[Zend Modules]
Xdebug
Zend OPcache
➜ ~ php7.2 -m
[PHP Modules]
calendar
Core
ctype
date
dom
exif
fileinfo
filter
ftp
gettext
hash
iconv
json
libxml
openssl
pcntl
pcre
PDO
Phar
posix
readline
Reflection
session
shmop
SimpleXML
sockets
sodium
SPL
standard
sysvmsg
sysvsem
sysvshm
tokenizer
wddx
xdebug
xml
xmlreader
xmlwriter
xsl
Zend OPcache
zlib
[Zend Modules]
Xdebug
Zend OPcache
➜ ~
What next? I ran sudo apt-get upgrade. How do I make sure my site is using php7.2?
-
This reply was modified 8 years ago by
willw9.
Plugin Contributor
Imagely
(@imagely)
Hmm, that’s a bit odd. Can you please make sure that you have removed any caching to make sure that the changes got applied?
Mihai
-
This reply was modified 8 years ago by
Imagely.
Thread Starter
willw9
(@willw9)
Didn’t work. What next?
I am scared to delete and re-install your app because I don’t trust that my existing galleries will still be there.
Also, when I do “Import from Media Library”, the In Progress bar just hangs, and does nothing.
Thread Starter
willw9
(@willw9)
Resolved.
I had to:
sudo apt-get install php5.6-xml
sudo apt-get install php5-gd
sudo service apache2 restar
The cryptic error messages are not appreciated (e.g. “Please activate the GD Image Library”) — I should *not* have to Google around to see what you want me to install. Instead, please provide a link, or the canonical command to try / package to install (referenced by its actual name in apt).
Otherwise, thanks for the prompt responses last week.
Guys, I’m facing this issue. Obviously, this error message doesn’t reflect the steps to fix it. Please provide the full list of PHP modules needed.