[英]error: php.h no such file or directory
我正在使用以下教程: http : //abhinavsingh.com/blog/2008/12/php-extensions-how-and-why/
我確實在一個文件夾中創建了php_sample.h
文件。 我有一個錯誤: php.h no such file or directory.
我已經php and apache using apt-get install.
安裝了php and apache using apt-get install.
我應該在我的文件php.h
導入? 我也不知道在哪里尋找config.m4。 我在usr / lib / php5中搜索過但我沒找到它。 在usr/local
中沒有appache文件夾。 需要一些提示。 謝謝! 欣賞
我想提一下,我在ubuntu 10.10工作。 我在/var/www
添加它后測試了一個簡單的.php code
。
你需要php-dev包。 php只是二進制包,而php-dev包含源文件。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.