简体   繁体   中英

PHP Startup: Unable to load dynamic library 'oci8_12c'

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM