Run this "grep extension /usr/local/lib/php.ini" and see you have an empty "extension =" lines in your php.ini file. Note that the location of your php.ini might be different to /usr/local/lib/ so you might need to google where your ini file is. If you have any empty extension lines, remove them.
Mar 7, 2016
11
Level 2
PHP Warning: PHP Startup: Unable to load dynamic library
I updated my server using these two commands:
sudo apt-get update
sudo apt-get upgrade
Now there is a PHP warning in my deployment log:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/zlib.so' - /usr/lib/php/20151012/zlib.so: cannot open shared object file: No such file or directory in Unknown on line 0
Any idea how i can fix this? Thanks
Level 3
just apt-get update and upgrade like you did before. looks like the issue was fixed in the php7 package
Please or to participate in this conversation.