CentOS OpenSSL php_openssl.dll not found - php

I get this error every now and then on my websites. After some Googling, I noticed that Linux doesn't support .dll files - but how do I get rid of this message?
Full error message:
A PHP Error was encountered
Severity: Core Warning
Message: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20121212/php_openssl.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20121212/php_openssl.dll: cannot open shared object file: No such file or directory
Filename: Unknown
Line Number: 0
Backtrace:

Seems like php_openssl.dll was being included from my php.ini, I commented this line out and it works!

Related

PHP SQLite Extensions not loading

I'm trying to load an extension on my PHP site:
$db->loadExtension('libdbplusql_81203.so');
PHP.ini:
sqlite3.extension_dir = /usr/lib/php/20180731
Error-Log from Apache2:
PHP Warning: SQLite3::loadExtension(): /usr/lib/php/20180731/libdbplusql_81203.so.so: cannot open shared object file: No such file or directory in /var/www/pdb/index.php on line 76
Can't figure out why this is not working.... and it's weird, that in the error log it says ".so.so" - when I change my code to:
$db->loadExtension('libdbplusql_81203');
Error Log say:
PHP Warning: SQLite3::loadExtension(): Unable to load extension at '/usr/lib/php/20180731/libdbplusql_81203' in /var/www/pdb/index.php on line 76
Maybe you have an idea :-)

Message: PHP Startup: Unable to load dynamic library '/opt/lampp/lib/php/extensions/no-debug-non-zts-20131226/mongo.so'

A PHP Error was encountered
Severity: Core Warning
Message: PHP Startup: Unable to load dynamic library > '/opt/lampp/lib/php/extensions/no-debug-non-zts-20131226/mongo.so' - > /opt/lampp/lib/php/extensions/no-debug-non-zts-20131226/mongo.so: cannot > open shared object file: No such file or directory
Filename: Unknown
Line Number: 0
Backtrace:
I am getting this weird error, i am working ubuntu 16.04
and i am new in ubuntu and mongo. I have searched a lot this error on google but i could not find any solution.
Kindly ignore the mistakes of mine, and try to provide a suitable solution.
thanks.

Php Core error after uploading to server

I am getting an error while uploading a completed project to server
A PHP Error was encountered
Severity: Core Warning
Message: PHP Startup: Unable to load dynamic library '/opt/cpanel/ea-php56/root/usr/lib64/php/modules/dba.so' - libtokyocabinet.so.9: cannot open shared object file: No such file or directory
Filename: Unknown
Line Number: 0
Backtrace:
Can anyone please help me to understand what this error means and how I can debug this?

Xdebug failed to run in php 7 in debug mode

I have compiled xdebug it added it to php.ini but this happens.
/opt/php/sbin/php-fpm
NOTICE: PHP message: PHP Warning: PHP Startup: Unable to load dynamic library '/opt/php/lib/php/extensions/no-debug-non-zts-20151012/xdebug.so' - /opt/php/lib/php/extensions/no-debug-non-zts-20151012/xdebug.so: cannot open shared object file: No such file or directory in Unknown on line 0 , my php is in debug mode.
What should I do?
Edit
If I place the file inside the directory this other error happens:
/opt/php/sbin/php-fpm
NOTICE: PHP message: PHP Warning: PHP Startup: Unable to load dynamic library '/opt/php/lib/php/extensions/no-debug-non-zts-20151012/xdebug.so' - /opt/php/lib/php/extensions/no-debug-non-zts-20151012/xdebug.so: undefined symbol: _zval_ptr_dtor_wrapper in Unknown on line 0

Error in loading CodeIgniter site

My site was developed using CodeIgniter and was working fine before but now it's showing an error.
When I checked error log it's showing:
[07-Jul-2012 09:17:11] PHP Warning: PHP Startup: Suhosin Extension does not officially
support PHP 5.2 and below anymore, because it is discontinued. Use it at your own risk. in
Unknown on line 0
[07-Jul-2012 09:17:11] PHP Warning:
require(/home/maya3d/public_html/system/codeigniter/Common.php) [href='function.require'>function.require]: failed to open stream: No such file or directory in /home/maya3d/public_html/system/codeigniter/CodeIgniter.php on line 38 [07-Jul-2012 09:17:11] PHP Fatal error: require() [href='function.require'>function.require]: Failed opening required '/home/maya3d/public_html/system/codeigniter/Common.php' > (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/maya3d/public_html/system/codeigniter/CodeIgniter.php on line 38
Can anyone please help me to fix it?
Log into the server and run:
ls -l /home/maya3d/public_html/system/codeigniter/Common.php
If it says the file doesn't exist then there's your problem. It could be permissions related as well.

Categories