通过源码编译安装php环境,按照phalcon官方文档安装扩展,会遇到php-config is not installed的坑。

尝试通过下列命令可以解决:

1 cd /opt/cphalcon-3.2.1/build/php7/64bits
2 && phpize --enable-phalcon \
3 --with-phpconfig=/usr/local/src/php7/bin/php-config
4 && ./configure --with-php-config=/usr/local/src/php7/bin/php-config
5 && make && make install

 

相关文章:

  • 2021-05-17
  • 2022-12-23
  • 2022-12-23
  • 2021-11-27
  • 2022-12-23
  • 2022-12-23
  • 2021-08-27
  • 2022-12-23
猜你喜欢
  • 2021-07-25
  • 2022-02-03
  • 2021-11-21
  • 2022-01-13
  • 2022-12-23
  • 2021-04-12
  • 2022-12-23
相关资源
相似解决方案