php-install Digest 9 Dec 2002 10:07:28 -0000 Issue 1153

Topics (messages 9330 through 9332):

Problem configuring php with oracle.  libclntsh.so.8.0 load error
        9330 by: david kim

gmtime returns local time
        9331 by: Jaime Kikpole

Re: PHP/Red Hat
        9332 by: Chris Hewitt

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]


----------------------------------------------------------------------
--- Begin Message ---
hello~

I'm very tired because of this problem.. T.T
help me, please..


1) my system's basic information

OS : Compaq Tru64 UNIX V5.1A (Rev. 1885) (bill3) (pts/6)
apache : 1.3.27
php : 4.2.0
oracle : 8.1.7

2) my path information

PATH=/data1/tuxedo/bin:/usr/include:/sbin:/usr/sbin:/usr/ccs/bin:/usr/bin:/e
tc:/data1/oracle/app/oracle/product/8.1.7/bin:/usr/bin/X11:/usr/local:/usr/l
ocal/bin:.:~/bin:
NLS_LANG=American_America.KO16KSC5601
ORACLE_PATH=.:/data1/oracle/app/oracle/product/8.1.7/bin:/data1/oracle/app/o
racle/product/8.1.7/obackup/bin:/opt/bin:/bin:/usr/bin
TNS_ADMIN=/oracle8/app/oracle/product/8.1.7/network/admin
SHELL=/bin/ksh
ORACLE_TERM=vt220
ORA_NLS32=/data1/oracle/app/oracle/product/8.1.7/ocommon/nls/admin/data
HOME=/
ORACLE_HOME=/data1/oracle/app/oracle/product/8.1.7

3) setup process

apache_dir : /usr/local/soma/apache1327
php_dir : /usr/local/soma/php420

1. go apache_dir and
./configure

2. go php_dir and

./configure --with-apache=/usr/local/soma/apache1327 --with-mysql=no --enabl
e-track-vars --enable-sigchild \
--with-oci8=/data1/oracle/app/oracle/product/8.1.7 --with-oracle=/data1/orac
le/app/oracle/product/8.1.7 --prefix=/usr/local/lib/php420

==> *** ATTENTION ***
This is often caused by incorrect configuration parameters.
Please see the file debug.log for error messages ....

I don't know what incorrect configuration parameters are...

please help me~~~

4) debug.log

CONFIGURE:   './configure' '--with-apache=/usr/local/soma/apache1327'
'--with-mysql=no' '--enable-track-vars' '--enable-sigchild' '-
-with-oci8=/data1/oracle/app/oracle/product/8.1.7'
'--with-oracle=/data1/oracle/app/oracle/product/8.1.7'
'--prefix=/usr/local/lib/p
hp420'
CC:         gcc
CFLAGS:     -g -O2
CPPFLAGS:
CXX:
CXXFLAGS:
INCLUDES:    -I/usr/local/soma/apache1327/src/include -I/usr/local/soma/apac
he1327/src/os/unix  -I$(top_builddir)/Zend -I/data1/orac
le/app/oracle/product/8.1.7/rdbms/public -I/data1/oracle/app/oracle/product/
8.1.7/rdbms/demo
LDFLAGS:     -Wl,-rpath,/data1/oracle/app/oracle/product/8.1.7/lib -L/data1/
oracle/app/oracle/product/8.1.7/lib
LIBS:       -lm -laio_raw -lrt -lmld -lexc -lm -laio_raw -lrt -lmld -lexc -l
resolv -lm  -lresolv -lclntsh -lclntsh
DLIBS:
SAPI:       apache
PHP_RPATHS:  /data1/oracle/app/oracle/product/8.1.7/lib
uname -a:   OSF1 bill3 V5.1 1885 alpha

gcc -o
nftest -g -O2   -Wl,-rpath,/data1/oracle/app/oracle/product/8.1.7/lib -L/dat
a1/oracle/app/oracle/product/8.1.7/lib conftest
.c -lm -laio_raw -lrt -lmld -lexc -lm -laio_raw -lrt -lmld -lexc -lresolv -l
m  -lresolv -lclntsh -lclntsh >&5
resolve_symbols: loader error: dlopen: libclntsh.so.8.0: symbol "sbtinit"
unresolved


--- End Message ---
--- Begin Message ---
        My PHP-based web mail apps are returning incorrect times.  Some
research shows that this might be a mod_php4 installation issue.
Consider the following.

<?php
echo "GMT:   " . gmdate( "D, j M Y H:i:s" ) . "<BR>";
echo "Local: " . date( "D, j M Y H:i:s" ) . "<BR>";
echo "Env:   " . getenv("TZ");
?>

        ...returns...

GMT: Mon, 9 Dec 2002 03:22:47
Local: Mon, 9 Dec 2002 03:22:47
Env: US/Eastern

        ...on one of my servers that isn't behaving properly.  The one
that is behaving properly returns...

GMT: Mon, 9 Dec 2002 03:22:24
Local: Sun, 8 Dec 2002 22:22:24
Env:

        When looking through phpinfo(), I find that the server with the
GMT=Local problem have "TZ" defined under "Environment" as being the local
time zone while the other server does not have any value for TZ.  The
problem server says...

> uname -a
FreeBSD zeus.cairodurham.org 4.7-STABLE FreeBSD 4.7-STABLE #7: Tue Nov 19
20:26:25 EST 2002 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ZEUS  i386

[phpinfo() output]
PHP Version 4.2.3

        ...while the well behaved server says...

> uname -a
FreeBSD malkav.snowmoon.com 4.6-RC FreeBSD 4.6-RC #2: Tue Jun  4 13:32:21
EDT 2002 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MALKAV  i386

[phpinfo() output]
PHP Version 4.2.1

        Any tips, advise, etc. would be greatly appreciated.  I'd really
like to get this bug squashed.  :)

                                                        Thanks in advance,
                                                        Jaime

--
Network Administrator
Cairo-Durham Central School District



--- End Message ---
--- Begin Message ---
Jonathan wrote:

It seems as if this list doesn't receive much traffic,

You are right. Many installation questions seem to be posted to php-general, increasing the volume on that already high volume list.

I can install PHP on a Windows Platform with my eyes closed, however I just
switched over to Linux and have no clue what I'm doing.  Most everything I
do comes from reading the Red Hat Linux Bible, anyway, can anyone point me
to a page/tutorial from where I can read instructions on how to install PHP
on Linux, step by step.

If you do an install of "everything" (as I do) then it is already installed. It will be whatever version comes with that version of RedHat. I use RH7.3, this has an Apache 1.3.x. RH 8 I believe has an Apache 2 which is not so keen on working with PHP but I have no experience of RH8.

If you want different versions of Apache/PHP from those supplied then the most common advice given seems to be to compile from source not a RPM, but again, I have no experience of it.

HTH
Chris


--- End Message ---

Reply via email to