php-install Digest 12 Jun 2002 11:39:56 -0000 Issue 880
Topics (messages 7292 through 7296):
Re: Enviroment Variables
7292 by: MikeParton
7294 by: Milke Karr
RPMs and tarballs
7293 by: JOHN MEYER
Re: php and oracle
7295 by: Markus Boehmer
7296 by: Markus Boehmer
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 ---
See Chapter 7. Variables, Predefined Variables in the php manual.
----- Original Message -----
From: "Milke Karr" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 11, 2002 7:34 PM
Subject: [PHP-INST] Enviroment Variables
> I have installed PHP 4.2.1 on a win32 apache 1.3.24 server as a module,
> whenever I try to access any of the normal enviroment variables such as
> $HTTP_USER_AGENT or $REMOTE_ADDR, they have no value assigned to them. Can
> anyone point me in the right direction as to what my problem may be.
>
> -Mike Karr
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at
http://explorer.msn.com/intl.asp.
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--- End Message ---
--- Begin Message ---
Thanks, I guess I didnt notice this new feature.
-Mike
>From: "MikeParton" <[EMAIL PROTECTED]>
>To: "Milke Karr" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
>Subject: Re: [PHP-INST] Enviroment Variables
>Date: Tue, 11 Jun 2002 19:40:57 -0400
>
>See Chapter 7. Variables, Predefined Variables in the php manual.
>----- Original Message -----
>From: "Milke Karr" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Tuesday, June 11, 2002 7:34 PM
>Subject: [PHP-INST] Enviroment Variables
>
>
> > I have installed PHP 4.2.1 on a win32 apache 1.3.24 server as a module,
> > whenever I try to access any of the normal enviroment variables such as
> > $HTTP_USER_AGENT or $REMOTE_ADDR, they have no value assigned to them.
>Can
> > anyone point me in the right direction as to what my problem may be.
> >
> > -Mike Karr
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.
--- End Message ---
--- Begin Message ---
Hi. I'm running SuSE 7.3 with the original PHP/Apache install. I want to update
these two, but I can only find the tarballs. How do I update without screwing my
system up?
--- End Message ---
--- Begin Message ---
Jim Thome <[EMAIL PROTECTED]> wrote:
> The Oracle client libraries need to be installed on your web server.
> Recompile PHP using the --with-oci8 switch (assuming you are using
> Oracle 8.X).
>
> --Jim
>
Right, this is the first step.
Then try to conenct to the database via sqlplus, if this succeds the
client
is properly configured and you can begin to recompile php.
The recompilation is quite easy.
1. You need to fill the environment variable LD_LIBRARY_PATH with the
path to the oracle libraries. Somewhere in the oracle install directory.
Have a look at the .so files there, should be the right path.
To have the environment variables ORACLE_SID nad ORACLE_HOME filled too
isn't so bad after all.
2. ./configure needs one or two new switches, depending on which
functions
you want to use.
If you want to have only the oci8 functions you only need to
append --with-oci8 to your configure string.
If you want also the old oracle seven functions also
append --with-oracle.
3. Be sure to delete the config.cache and also to do a "make clean"
before configure and make.
4. restart apache, call the phpinfo and be lucky
Greetings
Markus
--
Markus Boehmer
SSI Schaefer Shop GmbH
Datenbankadministration/-entwicklung
mailto:[EMAIL PROTECTED]
--- End Message ---
--- Begin Message ---
Angelo Marcos Rigo <[EMAIL PROTECTED]> wrote:
> Hi Jim
> Yes i using oracle 8i,
> i will install a client for linux in my apache webserver
> he does communicate with no problems with the oracle db ins
> Windows 200 machine? or have incompatibilities?
> thank´s
> Ângelo Marcos Rigo
> Webmaster Colégio Anchieta
> http://www.colegioanchieta.g12.br
>
>
Hi Angelo,
for oracle it doesn't matter if the operating systems of the client and
the server are differen, so there is no problem for an oracle client on
linux to connect to an winnt oracle database.
Greetings Markus
--
Markus Boehmer
SSI Schaefer Shop GmbH
Datenbankadministration/-entwicklung
mailto:[EMAIL PROTECTED]
--- End Message ---