【问题标题】:Pecl phpize failed config.m4 not foundPecl phpize failed config.m4 not found
【发布时间】:2012-08-16 07:13:11
【问题描述】:

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

【问题讨论】:

标签: php pecl


【解决方案1】:

下载文件,解压并cd到文件夹,然后执行pecl build

【讨论】:

  • 这应该是代替pecl install 步骤还是之前?
  • 我得到“无法打开 package.xml”
【解决方案2】:

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

解压缩并进入该文件夹并运行

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

nano php.ini
 add extension=yourextension.so

【讨论】:

    猜你喜欢
    • 2014-08-28
    • 1970-01-01
    • 2013-07-23
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-10-16
    • 2021-04-17
    • 1970-01-01
    相关资源
    最近更新 更多