PHP Startup: Unable to load dynamic library './php_imap.dll - php

I built an application using codeigniter 3 and it worked fine on my local host
but when i uploaded it to my godaddy server i get the below error. Because of this error none of my javascript files are working. I did some research and found out that its some extension related to mail... But i dont use that all..
A PHP Error was encountered
Severity: Core Warning
Message: PHP Startup: Unable to load dynamic library './php_imap.dll' - ./php_imap.dll: cannot open shared object file: No such file or directory
Filename: Unknown
Line Number: 0
Backtrace:
Can someone tell me how can i get rid of that error? I cant install that extension on godaddy so i need to find another way

Related

Unable to load dynamic library 'php_sockets.dll'

Ok, so when I run my php file it gives me this error:
PHP Warning: PHP Startup: Unable to load dynamic library 'php_sockets.dll'
In my php.ini file, I've added the line "extension=php_sockets.dll" but it still gives me this error. I've searched many ways of solving this problem but they didn't work.
I've noticed someting in the error. It said this:
C:\xampp\php\ext\php_php_sockets.dll.dll (The specified module could not be found.))
Why does it say php_php_socketsdll.dll? How can I fix this?

PHP Warning: PHP Startup: Unable to load dynamic library 'php_fileinfo.dll'

Good morning,
I'm struggerling to understand the below error. I believe it was caused when i migrated a cPanel account from one WHM to another.
I'm currently running Laravel but my log files are repeatedly growing with the same error.
[02-Jun-2020 10:46:47 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'php_fileinfo.dll' (tried: /opt/cpanel/ea-php73/root/usr/lib64/php/modules/php_fileinfo.dll (/opt/cpanel/ea-php73/root/usr/lib64/php/modules/php_fileinfo.dll: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php73/root/usr/lib64/php/modules/php_fileinfo.dll.so (/opt/cpanel/ea-php73/root/usr/lib64/php/modules/php_fileinfo.dll.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Has anyone experienced this before? or no of how i can resolve it...
Regards
Ross
You may be missing a library. See this related question:
How to enable php_fileinfo extension in PHP?
If you have cpanel just go to
Select PHP Version
and search for the extension
fileinfo
check it and you're good to go.

PHP Warnings always display, even with commands to set them to off

I'm currently having a lot of trouble in implementing some .php files. When I host them on my own server, it all comes out fine, but when I host them on the server where they will be hosted once they are completed, I get a bunch of PHP warnings that look like the below.
PHP Warning: PHP Startup: Unable to load dynamic library 'c:\php5.6\ext\php_mysql.dll' - %1 is not a valid Win32 application. in Unknown on line 0
Warning: PHP Startup: Unable to load dynamic library 'c:\php5.6\ext\php_mysql.dll' - %1 is not a valid Win32 application. in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'c:\php5.6\ext\php_mysqli.dll' - %1 is not a valid Win32 application. in Unknown on line 0
Warning: PHP Startup: Unable to load dynamic library 'c:\php5.6\ext\php_mysqli.dll' - %1 is not a valid Win32 application. in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'c:\php5.6\ext\php_soap.dll' - %1 is not a valid Win32 application. in Unknown on line 0
Warning: PHP Startup: Unable to load dynamic library 'c:\php5.6\ext\php_soap.dll' - %1 is not a valid Win32 application. in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'c:\php5.6\ext\php_xsl.dll' - %1 is not a valid Win32 application. in Unknown on line 0
Warning: PHP Startup: Unable to load dynamic library 'c:\php5.6\ext\php_xsl.dll' - %1 is not a valid Win32 application. in Unknown on line 0
The tricky part is that nothing I'm doing seems to stop these warnings. They show up on any PHP file hosted on the space I have to use, and none of the tricks to hide errors or warnings I have seen are working. So far I have tried:
error_reporting(0);
ini_set('display_startup_errors',0);
ini_set('display_errors',0);
#[functionNames]
None of which did anything (implmented seperately or together). The warning messages even show in a php file that calls phpinfo() and exits. From my digging online, it seems like the warnings are about a faulty extension path, which can happen sometimes when PHP is updated but the old installation files still point to outdated extensions. I can't be sure that's it though, because I have no way right now of contacting anyone who could be a system administrator or would know anything about the php installation. The php installation seems to be on the C drive of whatever computer the server is on. If I was able to get to that PHP installation I could correct the bad paths, but I don't have access to do that right now.
I believe the reason my error_reporting commands aren't working is because the "Master Value" for each value is set to on. I'm fairly new to PHP though, and haven't used phpinfo() before, so I could very well be wrong. If the normal commands don't work, is there anything that I can do? In case it helps, here's a look at what phpinfo() shows for the errors section: phpinfo
The warning messages aren't changing the way that any of the code works, it's just really annoying to see them all at the bottom of every single page. PHP is version 5.3.0.

Module 'soap' already loaded

i am using plesk server and i am new to this server. i have created project in codeigniter when i upload the files to plesk server i got this error.
A PHP Error was encountered
Severity: Core Warning
Message: Module 'soap' already loaded
Filename: Unknown
Line Number: 0
Backtrace:
since i have to much search on it but still i am not able to remove this bug anybody have solution about this? Have any php code or using .htaccess we can remove this bug?

Trouble uploading a codeigniter website to the ftp

I have been trying to upload a codeigniter website but for some reason it shows errors i do not have on my local environment. These errors popped up after i uploaded the files:
A PHP Error was encountered
Severity: Warning Message: Cannot modify header information - headers
already sent by (output started at
[basepath]/application/config/constants.php:1)
Filename: core/Common.php
Line Number: 568
404 Page Not Found
The page you requested was not found.
A PHP Error was encountered
Severity: Core Warning
Message: PHP Startup: Unable to load dynamic library
'/opt/alt/php56/usr/lib64/php/modules/ioncube_loader.so' -
/opt/alt/php56/usr/lib64/php/modules/ioncube_loader.so: cannot open
shared object file: No such file or directory
Filename: Unknown
Line Number: 0
I have changed the database settings so that it would connect to the online database. I also followed the correct guide which suggested which setting to change to be able to access the files on the new server. I am however pestered by errors which seem to come from codeigniter's own files.
Has anyone encountered any of there errors, or can anyone make sense of them? Help would really be appreciated!
Your error occurs due to Ioncube security extension website.
As far as i know, this error could be caused by unsupported version of PHP. You have installed PHP 5.6 and Ioncube may still not support it. You should upgrade your ioncube extension or downgrade PHP.

Categories