You are not logged in.
When running anything with php56 i receive this error.
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php56/modules/zip.so' - libzip.so.4: cannot open shared object file: No such file or directory in Unknown on line 0
As you can see in the screenshot, it's trying to load from /usr/lib/php56/modules
zip.so is there (far right):
ls /lib/php56/modules
bcmath.so curl.so exif.so gettext.so imap.so ldap.so mssql.so odbc.so pdo_dblib.so pdo_pgsql.so phar.so shmop.so sockets.so sysvsem.so xdebug.so zip.so
bz2.so dba.so ftp.so gmp.so intl.so libzip.so.4 mysqli.so opcache.so pdo_mysql.so pdo_sqlite.so posix.so snmp.so sqlite3.so sysvshm.so xmlrpc.so
calendar.so enchant.so gd.so iconv.so ioncube_loader_lin_5.6.so mcrypt.so mysql.so openssl.so pdo_odbc.so pgsql.so pspell.so soap.so sysvmsg.so tidy.so xsl.so
My /etc/php56/php.ini has the following modules loaded
extension=curl.so
extension=zip.so
extension=gd.so
extension=gettext.so
extension=gmp.so
extension=iconv.so
extension=intl.so
extension=mcrypt.so
extension=openssl.so
extension=pdo_mysql.so
extension=soap.so
extension=xsl.so
Php error log is the same error as when running something from cli:
cat /var/log/php-scripts.log
[30-Mar-2017 13:14:43 UTC] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php56/modules/zip.so' - libzip.so.4: cannot open shared object file: No such file or directory in Unknown on line 0
I have no idea what's causing the error, or how to fix it.
yaourt -S php56
Last edited by Radosav227 (2017-03-30 14:05:50)
Offline
Don't post images of text, post the actual text..
I'm not sure why you've posted this in the testing subforum, php56 isn't even a supported package.. moving to AUR Issues.
How did you install php56?
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Don't post images of text, post the actual text..
Sorry, I'm still new to the forums
How did you install php56?
Trough yaourt. -> yaourt php56
It's this package php56
BTW, I should mention that everything was working fine until I updated with yaourt -Syu about a week ago.
Offline
there was an ABI break in libzip, rebuild php56 this is something that happens to AUR packages from time to time, this is something you should know anyway.
Last edited by V1del (2017-03-30 13:35:52)
Offline
there was an ABI break in libzip, rebuild php56 this is something that happens to AUR packages from time to time, this is something you should know anyway.
Thanks for the reply, rebuilding worked. Again, I am still new, only been using arch for about 2-3 months now, so I still don't know there things. I even had to google how to rebuild the package lol.
For anyone new like me reading this, all i did was yaourt -S php56
Offline