[PHP] error compiling LDAP support into PHP, causes Apache to crash.

2001-10-25 Thread Scott Singleton

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]




Re: [PHP] Error with ldap

2001-03-16 Thread Brett Bandy

php_ldap.dll also requires libsasl.dll, so make sure you move this dll to
\winnt\system32 as well.

Brett

"Alain ROMERO" [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I copy 'msvcrtd.dll' in winnt\system32 and php3 works fine, but not php4

HELP !

Alain ROMERO a écrit :

 PHP 4.0.2 on Win32
 or PHP 3 on Win32
 extension=php_ldap.dll   is on in the php.ini file

 I get 'Unable to load php_ldap.dll' (PHP4) when I call a php file ?
 I get 'Call to an unsupported function ldap_connect()' (PHP3)  ?

 Help please ?

 --
 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 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 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] Error with ldap

2001-03-07 Thread Alain ROMERO

PHP 4.0.2 on Win32
or PHP 3 on Win32
extension=php_ldap.dll   is on in the php.ini file

I get 'Unable to load php_ldap.dll' (PHP4) when I call a php file ?
I get 'Call to an unsupported function ldap_connect()' (PHP3)  ?

Help please ?




-- 
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]




Re: [PHP] Error with ldap

2001-03-07 Thread Alain ROMERO

I copy 'msvcrtd.dll' in winnt\system32 and php3 works fine, but not php4

HELP !

Alain ROMERO a crit :

 PHP 4.0.2 on Win32
 or PHP 3 on Win32
 extension=php_ldap.dll   is on in the php.ini file

 I get 'Unable to load php_ldap.dll' (PHP4) when I call a php file ?
 I get 'Call to an unsupported function ldap_connect()' (PHP3)  ?

 Help please ?

 --
 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 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]