douzhuo6931 2017-04-12 09:45
浏览 242
已采纳

在ubuntu 16.04 xampp中没有安装php-config错误

I am getting php-config is not install error when running the below command to install phalcon.

sudo ./install --with-php-config=/opt/lampp/bin/php-config

Environment.

ubuntu 16.04

XAMPP for Linux 5.6.15

enter image description here

  • 写回答

1条回答 默认 最新

  • dongshang6790 2017-04-12 10:14
    关注

    Just install php-dev package:

    apt-get install php-dev

    If you use php5 then it needs to be:

    apt-get install php5-dev

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?