Error compiling LDAP support into PHP, causes Apache to crash.

From: Date: Fri, 26 Oct 2001 04:53:53 +0000
Subject: Error compiling LDAP support into PHP, causes Apache to crash.
Groups: php.install 
Request: Send a blank email to php-install+get-4754@lists.php.net to get a copy of this message
> 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? > >

« previous php.install (#4754) next »