CodeIgniter Forums
Unable to load dynamic library - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: Installation & Setup (https://forum.codeigniter.com/forumdisplay.php?fid=9)
+--- Thread: Unable to load dynamic library (/showthread.php?tid=71462)



Unable to load dynamic library - Rahul kumar - 08-16-2018

Dear member,


I am getting an error while setting up codeigniter 3.1.9 project on eleven2 server. 

The error is : 



Message: PHP Startup: Unable to load dynamic library '/opt/cpanel/ea-php56/root/usr/lib64/php/modules/php_exif.dll' - /opt/cpanel/ea-php56/root/usr/lib64/php/modules/php_exif.dll: cannot open shared object file: No such file or directory


While the project woking good on my xamp server (php 5.5.35). 

What may be the issue behind this  and there is also php_exif.dll is enabled on the server ?
My hosting support is telling me 

Code:
Please make a note that "php_exif.dl" is a php module for windows server and not for linux. In case of linux, the php module location is as follows and the module name is exif.

=====
/opt/cpanel/ea-php56/root/usr/lib64/php/modules/exif.so
====

Also I have checked and confirmed that the module is enabled for php 5.6.

=====
EXIF Support enabled
EXIF Version 1.4 $Id: cad29b729548e4206f0697710cc9e177f26fdff3 $
Supported EXIF Version 0220
Supported filetypes JPEG,TIFF
=====


Thanks


RE: Unable to load dynamic library - jreklund - 08-16-2018

That's a problem on your webbserver.
Make a temporary php-file and run:
PHP Code:
<?php phpinfo(); ?>

There you can look for exif and see if it's actually enabled.


RE: Unable to load dynamic library - Rahul kumar - 08-17-2018

I updated the php version from 5 to 7 and it is working fine. Thanks for your reply.