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




[PHP] PEAR installation location?

2001-10-23 Thread Scott Singleton

I need to upgrade the PEAR files for my PHP installation. Currently PHP is
compiled as a Dynamic Shared Object (DSO) for Apache.  

I've found three copies of the PEAR.PHP file on my system

/usr/share/php/PEAR.php
/usr/lib/php/PEAR.php
/usr/local/lib/php/PEAR.php

how can I tell which one is being used by PHP?  

-Scott

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