RE: [PHP-DB] Oracle8i connecting to database problem

2001-09-10 Thread Brian Dunworth




> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]
> Sent: Monday, September 10, 2001 2:02 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-DB] Oracle8i connecting to database problem
>
> (I can create a connection to the database using sqlplus and the
> variables I've set in php for the password and name etc. so I'm pretty
> sure my client and server installations are ok).
>

  Can you create the connection to the database using sqlplus while logged
into the web server as 'nobody' (the probable Apache user)?

 - Brian


 ---
  Brian S. Dunworth
  Sr. Software Development Engineer
  Oracle Database Administrator
  The Printing House, Ltd.
  (850) 875-1500 x225
 ---


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DB] Oracle8i connecting to database problem

2001-09-10 Thread simon . pospisil

Hi,

I've configured php as follows,


'./configure' '--with-mysql' '--with-apxs=/usr/local/apache/bin/apxs'
'--with-config-file-path=/megsoc3/' '--enable-trans-sid' '--with-sablot'
'--with-zlib' '--with-oracle' '--with-oci8' '--enable-sigchild'
'--enable-track-vars' '--enable-sockets'

and it makes and installs fine.

Then I start httpd ok but it won't create a connection to the database.
Is this because I'm using apxs? Do I have to do it statically. Can't see
anything about it being a problem but I can't think of anything else.
Any ideas?

(I can create a connection to the database using sqlplus and the
variables I've set in php for the password and name etc. so I'm pretty
sure my client and server installations are ok).


Thanks,

Simon.


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]