安装SwooleDistributed出现问题

鲜于宜修
2023-12-01

最后在使用

php -m

查看扩展时候,报错: PHP Warning: PHP Startup: Unable to load dynamic library ‘/home/admin/apps/php5/lib/php/extensions/no-debug-non-zts-20060613/gd.so’ - libpng15.so.15: cannot open shared object file: No such file or directory in Unknown on line 0
可以通过

# echo "/usr/local/lib" >> /etc/ld.so.conf
# ldconfig

如下命令解决

 类似资料: