Re: "Function registration failed" and "Module compiled with debug=0" errors
| From: | Richard Lynch | Date: | Thu, 15 Nov 2001 00:41:15 +0000 |
| Subject: | Re: "Function registration failed" and "Module compiled with debug=0" errors | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-74658@lists.php.net to get a copy of this message | ||
D'oh!!!
That's what I get for trying copying and pasting with Mandrake's screwy
./configure line! An oddly altered php.ini file was indeed the problem.
Seems obvious in retrospect -- php.ini was trying to load Mandrake's old
dynamic modules that are already static in my new PHP Module, so all sorts
of duplicate functions and incompatible modules show up.
THANKS!!!
> It may be wrong, but it seems you have modules loaded in php.ini.
> Are there extension="php_pgsql.so", etc, in your php.ini?
>
> --
> Yasuo Ohgaki
>
> Richard Lynch wrote:
>
>> Trying to compile 4.0.6 from source on Mandrake 8.0 using:
>>
>> ./configure \
>> --with-apxs=/usr/local/apache/bin/apxs \
>> --disable-debug \
>> --disable-debugger \
>> --enable-pic \
>> --enable-inline-optimization \
>> --prefix=/usr \
>> --with-zlib \
>> --with-config-file-path=/etc \
>> --enable-magic-quotes \
>> --enable-track-vars \
>> --with-versioning \
>> --enable-sysvsem \
>> --enable-sysvshm \
>> --enable-ftp \
>> --with-xml \
>> --with-gettext \
>> --with-jpeg-dir=/usr/src/jpeg-6b \
>> --with-png-dir=/usr/src/libpng-1.2.0 \
>> --with-gd \
>> --with-freetype-dir=/usr/src/freetype
>>
>> Can anybody translate these into English or suggest a course of
>> action...? ------ /usr/local/apache/logs/error_log
>> -----------------------
>> PHP Warning: Function registration failed - duplicate name - imagearc in
>> Unknown on line 0 [similarly for every single imageXXX function]
>> PHP Warning: Function registration failed - duplicate name -
>> mysql_tablename in Unknown on line 0 [similarly for every single
>> mysql_XXX function]
>> PHP Warning: mysql: Unable to register functions, unable to load in
>> Unknown on line 0
>> PHP Warning: pgsql: Unable to initialize module
>> [The following is repeated 5 times]
>> Module compiled with debug=0, thread-safety=0 module API=20001214
>> PHP compiled with debug=0, thread-safety=0 module API=20001222
>> These options need to match
>> in Unknown on line 0
>> -----------------------------------------------------
>>
>> I don't even *WANT* MySQL or PostgreSQL in the darn thing, okay? I
>> understand MySQL snuck in with the built-in stuff, but how did pgsql get
>> into the picture?!
>>
>> I need the GD stuff though, pretty badly.
>>
>> Searched the -install and -general archives with no luck...
>>
>>
>
>
>
--
Like music? http://l-i-e.com/artists.htm