configure: error: Cannot find php-config. Please use --with-php-config=PATH
一般出現這個錯誤說明你執行 ./
configure
時
--with-php-config
這個參數配置路徑錯誤導致的。
修改爲:
./configure --with-php-config=/usr/local/php/bin/php-config
就可以解決問題
上面的 /usr/local/php/ 是你的 php 安裝路徑
configure: error: Cannot find php-config. Please use --with-php-config=PATH
一般出現這個錯誤說明你執行 ./
configure
時
--with-php-config
這個參數配置路徑錯誤導致的。
修改爲:
./configure --with-php-config=/usr/local/php/bin/php-config
就可以解決問題
上面的 /usr/local/php/ 是你的 php 安裝路徑
What is a PHP extension? A PHP extension, in the most basic of terms, is