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

ファイルをダウンロードし、解凍してフォルダにcdしてから、peclビルドを実行します

于 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 に答える