切换到你的php源代码树下ext/目录中, 执行下面的命令:jdoe@devbox:/home/jdoe/cvs/php-src/ext/$ ./ext_skel extname=sample7稍等便可, 输出⼀些文本, 你将看到下面的这些输出:To use your new extension, you will have to execute the following steps: 1. $cd.. 2. $ vi ext/sample7/config.m4 3. $ ./buildconf 4. $ ./configure [with|enable]-sample7 5. $ make 6.