I have a problem.
I've installed last secure PHP 8.0.1, Laravel through Composer. Updated Composer to 2.0.9. And now every php/composer command continues with warnings like this:
Warning: PHP Startup: Unable to load dynamic library 'oci8_12c'
Warning: PHP Startup: Unable to load dynamic library 'pdo_firebird'
Warning: PHP Startup: Unable to load dynamic library 'pdo_oci'
And my project on the welcome.blade.php says:
Unchecked runtime.lastError: The message port closed before a response was received.
Failed to load resource: the server responded with a status of 500 (Internal Server Error)
What should I do to fix this problem?
For the oci8 and pdo_oci errors, start by installing the Oracle Instant Client 'Basic' package as shown in the PHP manual, or shown on the relevant operating system Instant Client Download page. I'm assuming you want to use Oracle.
Related
I recently found that the error logs of all the pages I have on a VPS with cloudlinux are full of messages like this one:
PHP Warning: PHP Startup: Unable to load dynamic library
'/opt/cpanel/ea-php56/root/usr/lib64/php/modules/pdo_oci.so' -
/opt/cpanel/ea-php56/root/usr/lib64/php/modules/pdo_oci.so: cannot
open shared object file: No such file or directory in Unknown on line
0
I have searched extensively trying to find how can I disable this library or extension because I don't have it. I have changed the PHP versions and the error logs keep showing this error.
I have PHP 7 in my Xampp but I want to run an older project in PHP 5 and codeigniter, so when I was setting up for two version of PHP on Xampp with config httpd-xampp.conf in according to the way (Add Directories to run specific PHP version) was in Stack Overflow in this link Is there way to use two PHP versions in XAMPP?, then I browse localhost/my_older_project I got many warning:
PHP Startup: Unable to load dynamic library 'c:\xampp\php\ext\bz2' -
The specified module could not be found.
PHP Startup: Unable to load dynamic library 'c:\xampp\php\ext\curl' -
The specified module could not be found.
PHP Startup: Unable to load dynamic library
'c:\xampp\php\ext\fileinfo' - The specified module could not be found.
PHP Startup: Unable to load dynamic library
'c:\xampp\php\ext\php_ftp.dll' - %1 is not a valid Win32 application.
What's wrong with this?
Instead of creating two versions of php, its better idea to simply use another webserver like wamp to run parallel with your xampp. If it port conflict occurs, you can simply change the port in either one's config.
When I install php mongodb extension on my windows, a warning is generated, however it works in CLI though. Would andyone give me any advice? Thanks!
PHP Warning: PHP Startup: Unable to load dynamic library
'd:/AppServ\\php5\\ext\\php_mongodb.dll' -
\xef\xbf\xbd\xd2\xb2\xef\xbf\xbd\xef\xbf\xbd\xef\xbf\xbd
\xd6\xb8\xef\xbf\xbd\xef\xbf\xbd\xef\xbf\xbd\xef\xbf\xbd
\xc4\xa3\xef\xbf\xbd\xe9\xa1\xa3\r\n in Unknown on line 0
I'm trying to build an app written in PHP (Laravel) from other devs, using Composer (I'm new to both).
I've installed mcrypt for PHP v5.5 with Homebrew (OSX 10.11) but every time I update my dependencies with "./composer.phar update" it returns me this error:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/Cellar/php55/5.5.33/lib/php/extensions/no-debug-non-zts-20121212/mcrypt.so' - dlopen(/usr/local/Cellar/php55/5.5.33/lib/php/extensions/no-debug-non-zts-20121212/mcrypt.so, 9): image not found in Unknown on line 0
Good day,
I am trying to install the .dll file php_ffmpeg on my windows 7 machine, and I keep getting this error:
[29-Jan-2013 11:37:00 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.4.3/ext/php_ffmpeg.dll' - %1 is not a valid Win32 application.
in Unknown on line 0
Please help, I have tried to follow some online tutorials and they all come to a screaming halt in this stage..