开发者

PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/'

开发者 https://www.devze.com 2023-02-01 15:23 出处:网络
I am getting this error log in my new dedicated server. PHP Startup: Unable to load dynamic library \'/usr/local/lib/php/extensions/no-debug-non-zts-20060613/\'

I am getting this error log in my new dedicated server.

PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/'

In php.ini

extensions =

extension_dir = /usr/local/lib/php/extensions/no-debug-non-zts-20060613

directory exists in the server but i cant understand why i am g开发者_如何学运维etting this ?

thx so much


Remove the empty extension= line. Else PHP takes the right value (nothing) as a file name which obviously makes no sense.

If you want to load an extension you have to provide a filename to a .so/.dynlib/.dll file (depending on your system)

0

精彩评论

暂无评论...
验证码 换一张
取 消