4.3.0 Extension
| From: | md | Date: | Mon, 17 Feb 2003 20:43:08 +0000 |
| Subject: | 4.3.0 Extension | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-94310@lists.php.net to get a copy of this message | ||
Hello:
I am new to your list, but a long time user of extensions in PHP.
I just met with complete failure trying to compile a working extension
in 4.3.0 under linux/apache
This is a pre-cursor to migrating my previous extensions to the new
version.
I tried just the basic ext_skel --extname=testmodulename to see if I
could
do that successfully and I could not.
During server load on apache, the zend_API.c - line 1058 -> if
(zend_hash_exists(TRUE) -> warning message
"PHP Warning: Function registration failed - duplicate name -
compile_testmodulemodule_confirm in Unknown on line 0"
"PHP Warning: testmodulename: Unable to register functions, unable to
load
in Unknown on line 0.
Now, the process has always been a little vague, the steps on the web
site are:
1) ./ext_skel --extname=testmodule
2) Edit config.m4 file to remove two dnl entries to ENABLE_ARG module
3) ./buildconf
4) ./configure --with-mysql --with-apxs=/xxxxx --enable-testmodulename
5) make Makefile and put the resulting shared library on the apache
server and run the httpd daemon and the above errors occur during apache
server load.
I am able to do the same things with 4.2.3 and it works fine.
Can someone tell me what specifically to edit in config.m4 to get
ext_skel to work? (The web site is vague about it)
Thanks,
Mark Diener