zephir build 的時候出錯了
安裝zephir 后,安裝官方文檔,鍵了一個demo ,然后build 的時候出錯了,這是內(nèi)核問題么
[root@localhost utils]# zephir build
Preparing for PHP compilation...
Preparing configuration file...
configure: error: Cannot find php-config. Please use --with-php-config=PATH
Compiling...
sh: php-config: 未找到命令
kernel/array.h:25:17: 致命錯誤:php.h:沒有那個文件或目錄
#include <php.h>
^
編譯中斷。
kernel/debug.h:25:17: 致命錯誤:php.h:沒有那個文件或目錄
#include <php.h>
^
編譯中斷。
kernel/exception.h:24:23: 致命錯誤:Zend/zend.h:沒有那個文件或目錄
#include <Zend/zend.h>
^
編譯中斷。
kernel/exit.h:22:23: 致命錯誤:Zend/zend.h:沒有那個文件或目錄
#include <Zend/zend.h>
^
編譯中斷。
In file included from ./php_utils.h:11:0,
from ./php_ext.h:4,
from kernel/fcall.h:24:
./kernel/globals.h:24:17: 致命錯誤:php.h:沒有那個文件或目錄
#include <php.h>
^
編譯中斷。
kernel/file.h:23:17: 致命錯誤:php.h:沒有那個文件或目錄
#include <php.h>
^
編譯中斷。
kernel/filter.h:23:17: 致命錯誤:php.h:沒有那個文件或目錄
#include <php.h>
^
編譯中斷。
kernel/globals.h:24:17: 致命錯誤:php.h:沒有那個文件或目錄
#include <php.h>
^
編譯中斷。
kernel/iterator.h:24:17: 致命錯誤:php.h:沒有那個文件或目錄
#include <php.h>
^
編譯中斷。
kernel/main.h:23:34: 致命錯誤:Zend/zend_interfaces.h:沒有那個文件或目錄
#include <Zend/zend_interfaces.h>
^
編譯中斷。
kernel/math.h:23:17: 致命錯誤:php.h:沒有那個文件或目錄
#include <php.h>
^
編譯中斷。
kernel/memory.h:24:17: 致命錯誤:php.h:沒有那個文件或目錄
#include <php.h>
^
編譯中斷。
kernel/object.h:24:17: 致命錯誤:php.h:沒有那個文件或目錄
#include <php.h>
^
編譯中斷。
kernel/operators.h:24:17: 致命錯誤:php.h:沒有那個文件或目錄
#include <php.h>
^
編譯中斷。
In file included from ./php_utils.h:11:0,
from ./php_ext.h:4,
from kernel/require.h:24:
./kernel/globals.h:24:17: 致命錯誤:php.h:沒有那個文件或目錄
#include <php.h>
^
編譯中斷。
kernel/string.h:24:17: 致命錯誤:php.h:沒有那個文件或目錄
#include <php.h>
^
編譯中斷。
kernel/time.h:20:17: 致命錯誤:php.h:沒有那個文件或目錄
#include <php.h>
^
編譯中斷。
kernel/variables.h:24:17: 致命錯誤:php.h:沒有那個文件或目錄
#include <php.h>
^
編譯中斷。
kernel/concat.h:4:17: 致命錯誤:php.h:沒有那個文件或目錄
#include <php.h>
^
編譯中斷。
Installing...
Internal extension compilation failed. Check compile-errors.log for more information
build zephir 是時候出差了,
慕碼人8056858
2019-03-07 05:01:19