Шаги:
1) cd /path_to_php_src/ext
1) cd /path_to_php_src/ext
2) ./ext_skel --extname=name
3) cd name
4) vim config.m4, там убрать dnl со строк:
dnl PHP_ARG_ENABLE(gt_test, whether to enable gt_test support,
dnl Make sure that the comment is aligned:
dnl [ --enable-gt_test Enable gt_test support])
или со строк
dnl PHP_ARG_WITH(gt_test, for gt_test support,
dnl Make sure that the comment is aligned:
dnl [ --with-gt_test Include gt_test support])
5) phpize
6) ./configure && make && make install
Комментариев нет:
Отправить комментарий