faqts : Computers : Programming : Languages : PHP : Installation and Setup : PHP4

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

2 of 6 people (33%) answered Yes
Recently 2 of 6 people (33%) answered Yes

Entry

Who do installed on UNIX with Apache1.3.20(source) + PHP4.0.6(source) + OpenLDAP1.2.8(source)

Dec 1st, 2001 05:46
wienne wienne, Who do installed on UNIX with Apache1.3.20(source) + PHP4.0.6(source) + OpenLDAP1.2.8(source)


Who do installed on UNIX with Apache1.3.20(source) + PHP4.0.6(source) + 
OpenLDAP1.2.8(source)

if Linux Apache(source) + PHP(source) + OpenLDAP(RPM) is ok

but at Linux , FreeBSD , Solaris Apache(source) + PHP(source) + 
OpenLDAP (source)

Apache start fail



IN Linux Redhat 6.2 means install and run ok!

openldap is RPM

install apache
cd /temp/apache_1.3.20
./configure \
--enable-module=so \
--prefix=/usr/local/apache \
--exec-prefix=/usr/local/apache

install php
cd /temp/php-4.0.6
./configure \
--enable-track-vars \
--with-apxs=/usr/local/apache/bin/apxs \
--prefix=/usr/local/php \
--exec-prefix=/usr/local/php \
--with-config-file-path=/usr/local/php \
--with-ldap=/usr \
--enable-ftp \
--with-mysql=/usr/local/mysql \
--with-gettext

---------------------------------------------------------------
Other UNIX
install apache
cd /temp/apache_1.3.20
./configure \
--enable-module=so \
--prefix=/usr/local/apache \
--exec-prefix=/usr/local/apache

install php
cd /temp/php-4.0.6
./configure \
--enable-track-vars \
--with-apxs=/usr/local/apache/bin/apxs \
--prefix=/usr/local/php \
--exec-prefix=/usr/local/php \
--with-config-file-path=/usr/local/php \
--with-ldap=../openldap-1.2.8 \
--enable-ftp \
--with-mysql=/usr/local/mysql 

Start apache note,

Undefined symbol "_finite"


---------------------------------------------------------------
Other UNIX

install php
cd /temp/php-4.0.6
./configure \
--enable-track-vars \
--with-apache=../apache_1.3.20 \
--prefix=/usr/local/php \
--exec-prefix=/usr/local/php \
--with-config-file-path=/usr/local/php \
--with-ldap=../openldap-1.2.8 \
--enable-ftp \
make 
make install

install apache
cd /temp/apache_1.3.20
./configure \
--prefix=/usr/local/apache \
--exec-prefix=/usr/local/apache \
--activate-module=src/modules/php4/libphp4.a

make 
note
ldap.c:137: Undefined symbol `_ldap_unbind_s' referenced from text 
segment
ldap.c:146: Undefined symbol `_ldap_msgfree' referenced from text 
segment
ldap.c:388: Undefined symbol `_ldap_open' referenced from text segment
ldap.c:554: Undefined symbol `_ldap_bind_s' referenced from text segment
ldap.c:555: Undefined symbol `_ldap_err2string' referenced from text 
segment


Can you Help me ,how do PHP+OpenLDAP

thank!

wienne@163.com