新手搞PHP ,以前用過 PERL, BASH; 因此開始用PHP 寫程序上手比較快, 幾天以後對PHP 的內部實現機制產生了興趣,因此本身嘗試着寫寫簡單的PHP 擴展,以增長對PHP 的理解。php
1 5.1 $ cd .. 2 5.2. $ vi ext/example/config.m4 3 5.3. $ ./buildconf 4 5.4. $ ./configure --[with|enable]-example 5 5.5. $ make 6 5.6. $ ./php -f ext/example/example.php 7 5.7. $ vi ext/example/example.c 8 5.8. $ make
1 ./configure --[with|enable]-example 2 make 3 make test 4 sudo make install