PHP/Oracle and PHP Training

PHP/Oracle and PHP Training

Post by Dakai Z » Fri, 14 Jan 2000 04:00:00



I'm tired of ASP scripting. Because I'm NOT allowed to own my own NT
Server. On the other hand, I do manage a Solaris 2.6 box, running
Apache Web Server. I've heard a lot good things about PHP. But our
Oracle server is installed in a different UNIX box. Is it possible to
configure PHP so that it'll "talk" to the Oracle server accross the
network? The suggested method is to specify "-dir oracledir" while
doing the configuration. Does that assume that Oracle is installed on
the same machine yet another directory? If so, it doesn't sound like a
multi-tier application at all!

If there's a PHP training session, please let me know. I'd love to
spend a couple of days just doing PHP.

Thanks.

Dakai Zhu

 
 
 

PHP/Oracle and PHP Training

Post by Jerry Bel » Fri, 14 Jan 2000 04:00:00


I think you'll need to install the Oracle client utilities on your solaris
box so PHP can use the Oracle libraries to talk to the database.  That is
why the path is needed when configuring for Oracle support.  There should
not be any problems with having the database and the web server be on
different machines.
I am not quite sure how the client is licensed.  I would image the license
for the client utilities is covered under the per user license for the
database server, but I am not 100% sure.

Hope this helps,

Jerry
http://www.bellnetworks.net/cs

Quote:> I'm tired of ASP scripting. Because I'm NOT allowed to own my own NT
> Server. On the other hand, I do manage a Solaris 2.6 box, running
> Apache Web Server. I've heard a lot good things about PHP. But our
> Oracle server is installed in a different UNIX box. Is it possible to
> configure PHP so that it'll "talk" to the Oracle server accross the
> network? The suggested method is to specify "-dir oracledir" while
> doing the configuration. Does that assume that Oracle is installed on
> the same machine yet another directory? If so, it doesn't sound like a
> multi-tier application at all!

> If there's a PHP training session, please let me know. I'd love to
> spend a couple of days just doing PHP.

> Thanks.

> Dakai Zhu


 
 
 

PHP/Oracle and PHP Training

Post by Erik Hofma » Sat, 15 Jan 2000 04:00:00



> I'm tired of ASP scripting. Because I'm NOT allowed to own my own NT
> Server. On the other hand, I do manage a Solaris 2.6 box, running
> Apache Web Server. I've heard a lot good things about PHP. But our
> Oracle server is installed in a different UNIX box. Is it possible to
> configure PHP so that it'll "talk" to the Oracle server accross the
> network? The suggested method is to specify "-dir oracledir" while
> doing the configuration. Does that assume that Oracle is installed on
> the same machine yet another directory? If so, it doesn't sound like a
> multi-tier application at all!

You need to install the Oracle libraries on this machine to connect to a
different database machine over the network.

Quote:> If there's a PHP training session, please let me know. I'd love to
> spend a couple of days just doing PHP.

I don't know this one. Sorry.

Erik

 
 
 

PHP/Oracle and PHP Training

Post by Pete Lamasne » Sat, 15 Jan 2000 04:00:00



> If there's a PHP training session, please let me know. I'd love to
> spend a couple of days just doing PHP.

http://hotwired.lycos.com/webmonkey/programming/php/

and there's a list of "Getting Started" links at
http://www.php.net/links.php3

 
 
 

PHP/Oracle and PHP Training

Post by Joseph Vaugha » Wed, 19 Jan 2000 04:00:00


I had a similar situation with a sybase server.  The answers I received
from this newsgroup (one or two) all said I needed sybase libraries on
the linux box where I installed PHP.  (I never quite understood if that
would then allow me sybase access on a completely different server).  I
downloaded the sybase clients but have not had time to try it out.    I
did find it very frustrating that I could not just use PHP to make
requests to the other server.   I wondered about whether I could use the
PHP ODBC modules to achieve the same result.

Let me know how you do, if you would.

best,

Joseph Vaughan


> I'm tired of ASP scripting. Because I'm NOT allowed to own my own NT
> Server. On the other hand, I do manage a Solaris 2.6 box, running
> Apache Web Server. I've heard a lot good things about PHP. But our
> Oracle server is installed in a different UNIX box. Is it possible to
> configure PHP so that it'll "talk" to the Oracle server accross the
> network? The suggested method is to specify "-dir oracledir" while
> doing the configuration. Does that assume that Oracle is installed on
> the same machine yet another directory? If so, it doesn't sound like a
> multi-tier application at all!

> If there's a PHP training session, please let me know. I'd love to
> spend a couple of days just doing PHP.

> Thanks.

> Dakai Zhu

 
 
 

PHP/Oracle and PHP Training

Post by Michael Steigma » Sun, 13 Feb 2000 04:00:00


Yes, you can do this. The "oracledir" you are referring to is where PHP
will look for the Oracle header files. You will need the Oracle client
libraries on your web server. I'm not sure if you can the client
libraries seperately, but you can get Oracle at
http://technet.oracle.com.  You'll find a lot of answers on the main PHP
mailing list (lots of traffic though). Good luck.

Michael


> I had a similar situation with a sybase server.  The answers I received
> from this newsgroup (one or two) all said I needed sybase libraries on
> the linux box where I installed PHP.  (I never quite understood if that
> would then allow me sybase access on a completely different server).  I
> downloaded the sybase clients but have not had time to try it out.    I
> did find it very frustrating that I could not just use PHP to make
> requests to the other server.   I wondered about whether I could use the
> PHP ODBC modules to achieve the same result.

> Let me know how you do, if you would.

> best,

> Joseph Vaughan


> > I'm tired of ASP scripting. Because I'm NOT allowed to own my own NT
> > Server. On the other hand, I do manage a Solaris 2.6 box, running
> > Apache Web Server. I've heard a lot good things about PHP. But our
> > Oracle server is installed in a different UNIX box. Is it possible to
> > configure PHP so that it'll "talk" to the Oracle server accross the
> > network? The suggested method is to specify "-dir oracledir" while
> > doing the configuration. Does that assume that Oracle is installed on
> > the same machine yet another directory? If so, it doesn't sound like a
> > multi-tier application at all!

> > If there's a PHP training session, please let me know. I'd love to
> > spend a couple of days just doing PHP.

> > Thanks.

> > Dakai Zhu

 
 
 

1. Apache w/ PHP and SSL: w/ PHP OK - w/out PHP NOK

Hi,

        I've been assigned the task of building an Apache server with
support for Sybase, PHP4, OpenSSL 0.9.6/mod_ssl ?, and apache 1.3.14.

I followed Israel Denis Jr/Eugene Otto's "The Soothingly Seamless
Setup of Apache, SSL, MySQL, and PHP" at DevShed, but compilation of
apache fails if I add PHP.  The same procedure w/out PHP works OK
(either port 80 or port 443.) As a non-developper, I'm totally in the
dark.

[/home/samba/temp/Apache/apache_1.3.14]# SSL_BASE=../openssl-0.9.6
/configure --enable-module=ssl
--activate-module=src/modules/php4/libphp4.a --enable-module=php4
--prefix=/usr/local/apache

Configuring for Apache, Version 1.3.14
(snip)
-L/home/samba/temp/Apache/openssl-0.9.6  -o helpers/dummy
helpers/dummy.c   -rdynamic -Lmodules/php4 -L../modules/php4
-L../../modules/php4 -lmodphp4  -lpam  -ldl -lresolv -lm -ldl -lcrypt
-lnsl  -lresolv   -lm -lcrypt  -lssl -lcrypto
/usr/bin/ld: cannot find -lmodphp4
collect2: ld returned 1 exit status
make: *** [dummy] Error 1

Any idea?

Thx
FF.

2. Apache 1.3 (full) running problem

3. Solaris - PHP- Apache- Oracle : Problem getting PHP installed

4. apache/xerces. xml schema validation, basic question.

5. PHP: /usr/local/lib/php.ini file ignored

6. How do I create local IP, ServerName?

7. PHP: Evaluating a string as HTML with embeded PHP

8. scsi-idle

9. Disable php function as php as cgi

10. Apache Rewrite domain.com->index.php domain.org->index2.php

11. Prepend a PHP header / append a PHP footer to any file

12. weird php error when using php-mysql-4.2.3 from ports

13. PHP "make" error with php-4.0.1pl2 and slackware