php-install Digest 30 Mar 2001 09:16:20 -0000 Issue 240

Topics (messages 2630 through 2633):

Simple script won't parse
        2630 by: Chris Oman
        2633 by: A.T.Z.

TNS:internal limit restriction
        2631 by: TAN

fix found for 4.0.4pl1 + openldap-1.2.11 + Apache 1.3.14 + Solaris 7
        2632 by: John McCoy, Jr

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------


Followed the instruction to a T. Script is the basic <%php phpinfo(); %> in
the document root. Did the AddType in httpd.conf. Did the "httpd -l",
mod_php4.c listed. What am I doing wrong?






At 16:51 29-3-01 -0500, Chris Oman wrote:
>Followed the instruction to a T. Script is the basic <%php phpinfo(); %> in
>the document root. Did the AddType in httpd.conf. Did the "httpd -l",
>mod_php4.c listed. What am I doing wrong?

<?phpinfo()?> or <?phpinfo();?>
The first one worked for me..

Bye,



B.





Can anyone help me ? When I run my php oracle_logon, I got an error message
"TNS:internal limit restriction "

Thank u for your help.










This is what it took for me to get this installed they may be other ways but
this worked for me.
Hope it helps somebody!

Here is my php configure vars
"./configure" \
"--with-mysql" \
"--with-imap=../imap-2000c" \
"--with-ldap=../openldap-1.2.11" \
"--with-apache=../apache_1.3.14" \
"--enable-memory-limit=yes" \
"--enable-debug=no"

To compile Apache I had to do the following ( LIBS was the final piece here
for me)
SSL_BASE=../openssl-0.9.6 EAPI_MM=../mm-1.1.3 CPPFLAGS=-I/usr/local/include
\
LDFLAGS=-L/usr/local/lib LIBS="-lldap -llber"
./configure --prefix=/usr/local/apache \
--activate-module=src/modules/php4/libphp4.a --enable-module=ssl \
--activate-module=src/modules/perl/libperl.a --enable-module=perl

For some reason it still wouldn't pick up libldap.so.2 and liblber.so.2 in
/usr/local/lib when running make. So I made links to both in /usr/lib/ I'm
sure I was doing something wrong to need to do this.
I have no LD_LIBRARY_PATH, this may be why.

I then had to copy test_char.h from apache-src-dir/src/os/netware to
src/main

It then compiled using GNU make.

Here are system specs:
Solaris 7 Sparq
gcc 2.95.2
GNUmake 3.78.1
php-4.0.4pl1
openldap-1.2.11
Apache 1.3.14
openssl-0.9.6
mysql-3.22.32
mm-1.1.3
UW-imap200c

I'll supply more config lines if somebody needs.

********************************
John McCoy [EMAIL PROTECTED]
Systems Administrator
Central Systems
Mills College
510-430-3321
********************************



Reply via email to