是否可以强制php在centos 7上从/usr/lib/而不是/usr/lib64/加载libcurl?问题是我编译了一个修改过的curl版本,它使用openssl而不是NSS,我想把这个库加载到php中。当仅将/usr/lib64/中的libcurl.so.4替换为我的自定义libcurl时,它可以工作,但不幸的是破坏了我的包管理器。在修改php.ini时,它似乎被忽略了: e
我已经设置了一个运行/调试配置> PHP Unit Tests,选择了XML,然后选择了Symfony2附带的app/phpenit.xml.dist文件。Please adjust ''include_path'' variable in your ''php.ini'' configuration file.Process finished with exit code 0
我从命令行运行php -i来定位php.
我使用 for PHP并运行Ubuntu 18。运行php -v提供了以下输出:
PHP Warning: PHP Startup: Unable to load dynamic library 'curl.so' (tried: /usr/libnot defined in file libcurl.so.4 with link time reference), /usr/lib/php/20190902