新手搞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