0
構建PHP擴展
我安裝PHP5-dev的,讓PHP源,放置程序hello_world擴展在錯誤而在Ubuntu
<php_source>/ext/hello.
我運行此命令在招呼DIR:
phpize
./configure --enable-hello
make
但是我有錯誤:php.h沒有找到:(
我試圖在PHP源路徑中運行./configure,將文件從Zend /,TSRM /,main/dirs放到/ ext/hello dir,但運行後讓我有很多 - 編譯錯誤。什麼我做錯了?