php7-extension-explore icon indicating copy to clipboard operation
php7-extension-explore copied to clipboard

第一章的扩展生成出来正常 引用报错

Open 12gameRensheng opened this issue 4 years ago • 0 comments

大佬 你好 这是我的环境: linux php 7.3.29 配置文件 config.m4 因为你的目录和代码没有提供 所以我自己百度了一份最简单的配置config.m4

PHP_ARG_WITH(myext, for mytest support,
Make sure that the comment is aligned:
[  --with-myext             Include myext support])

if test "$PHP_myext" != "no"; then
    PHP_NEW_EXTENSION(myext, myext.c, $ext_shared,, -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1)
fi


这个扩展是生成出来了 但是 php -m 后就这样 image

12gameRensheng avatar Aug 03 '21 07:08 12gameRensheng