5

我正在尝试安装 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
4

2 回答 2

3

download the file, uncompress and cd to the folder, then do pecl build

于 2012-09-19T06:31:22.897 回答
1

https://pecl.php.net/package/SCA_SDO下载

解压缩并更改到该文件夹​​并运行

phpize
./configure
make clean && make && make install

nano php.ini
 add extension=yourextension.so
于 2016-06-09T21:59:01.743 回答