我正在尝试安装Pecl扩展(SCA_SDO)但是当我运行以下命令pecl install SCA_SDO
时,我得到了结果错误:
downloading SCA_SDO-1.2.4.tgz ...
Starting to download SCA_SDO-1.2.4.tgz (576,531 bytes)
....................................................................................................................done: 576,531 bytes
194 source files, building
running: phpize
Cannot find config.m4.
Make sure that you run '/usr/bin/phpize' in the top level source directory of the module
ERROR: `phpize' failed
答案 0 :(得分:2)
下载文件,解压缩并cd到该文件夹,然后执行 pecl build
答案 1 :(得分:1)
从https://pecl.php.net/package/SCA_SDO下载
解压缩并切换到该文件夹并运行
phpize
./configure
make clean && make && make install
nano php.ini
add extension=yourextension.so