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


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to