Oops.. here's a better snippet of the PHP log file with this info..

[26-Oct-2001 00:48:54] PHP Warning:  Function registration failed -
duplicate name - ldap_compare in Unknown on line 0
[26-Oct-2001 00:48:54] PHP Warning:  Function registration failed -
duplicate name - ldap_get_option in Unknown on line 0
[26-Oct-2001 00:48:54] PHP Warning:  Function registration failed -
duplicate name - ldap_set_option in Unknown on line 0
[26-Oct-2001 00:48:54] PHP Warning:  Function registration failed -
duplicate name - ldap_parse_result in Unknown on line 0
[26-Oct-2001 00:48:54] PHP Warning:  Function registration failed -
duplicate name - ldap_first_reference in Unknown on line 0
[26-Oct-2001 00:48:54] PHP Warning:  Function registration failed -
duplicate name - ldap_next_reference in Unknown on line 0
[26-Oct-2001 00:48:54] PHP Warning:  Function registration failed -
duplicate name - ldap_parse_reference in Unknown on line 0
[26-Oct-2001 00:48:54] PHP Warning:  Function registration failed -
duplicate name - ldap_rename in Unknown on line 0
[26-Oct-2001 00:48:54] PHP Warning:  Function registration failed -
duplicate name - ldap_start_tls in Unknown on line 0
[26-Oct-2001 00:48:54] PHP Warning:  ldap:  Unable to register functions,
unable to load in Unknown on line 0


-----Original Message-----
From: Scott Singleton [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 26, 2001 12:52 AM
To: '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]'
Subject: [PHP] error compiling LDAP support into PHP, causes Apache to
crash.


Could someone glance at my situation and the enclosed PHP error log snippet
and give me an idea as to where to procede?  I'm pretty stuck.

Stats:

OS: Linux (RH 7.1)
Apache 3.19

Have latest openLDAP and Berkeley DB 3 Installed with no build errors
(/usr/local;/usr/local/BerkeleyDB.3.3)

My PHP config statement:

./configure     --with-apxs \
                --with-mysql \
                --with-mcal=../libmcal \
                --with-zlib \
                --with-gettext \
                --enable-ftp \
                --with-mcrypt=../libmcrypt \
                --with-ldap=/usr/local \
                --with-config-file-path=/etc



When the HTTPD daemon starts it immediately shuts down with no error
message.  If I reconfig excluding the LPAP directive the system works like a
champ. BTW.. does anyone know why MySQL fails to register so many functions?


Here's a snippet of the PHP Log:

[26-Oct-2001 00:52:46] PHP Warning:  Function registration failed -
duplicate name - mysql_dbname in Unknown on line 0
[26-Oct-2001 00:52:46] PHP Warning:  Function registration failed -
duplicate name - mysql_tablename in Unknown on line 0
[26-Oct-2001 00:52:46] PHP Warning:  mysql:  Unable to register functions,
unable to load in Unknown on line 0
[26-Oct-2001 00:52:46] PHP Warning:  U?Sf"ø_: Unable to initialize
module
Module compiled with debug=224, thread-safety=106 module API=1082247328
PHP compiled with debug=0, thread-safety=0 module API=20010901
These options need to match
 in Unknown on line 0


BTW.. does anyone know why MySQL fails to register so many functions?



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to