By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,262 Members | 1,128 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,262 IT Pros & Developers. It's quick & easy.

Oracle, PHP5, Apache2, oci_connect fails but sql*plus works

P: n/a
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi -

after I got sql*plus to work on my Linux box and I recompiled PHP 5 to include
the oracle instant client, I run into a weird problem:

I get 'ORA-01017: invalid username/password; logon denied' when using the same
combination of username/password and Oracle instance that works in sql*plus on
the same machine.

The PHP page finds the tnsnames.ora alright cause when I use a different name
that is not in there, it gives me an error that it couldn't be found, so I
don't think that the tnsnames.ora is the reason here.

I also tried all weird combination of upper and lowercase, which doesn't seem
to matter to sql*plus, so I figure it doesn't make a difference in PHP.

Has anybody in this newsgroup ever run into the same problem?

Thanks,
Ruben
- --
Ruben Schoenefeld, ICQ 1-971-310, http://support.uni-oldenburg.de/~ruben/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFCScsuKxQwayh8oDERAptLAJ92I+rwAXK6FI1zLwwS45 PEwviiwgCdE3rX
Gq7wZi2ed/PgFmszmZzDPj4=
=H25I
-----END PGP SIGNATURE-----
Jul 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Problem solved ...

Ruben

On Tuesday the 29th day of March 2005 sc*********@support.hrz.uni-oldenburg...:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi -

after I got sql*plus to work on my Linux box and I recompiled PHP 5 to
include the oracle instant client, I run into a weird problem:

I get 'ORA-01017: invalid username/password; logon denied' when using the
same combination of username/password and Oracle instance that works in
sql*plus on the same machine.

The PHP page finds the tnsnames.ora alright cause when I use a different name
that is not in there, it gives me an error that it couldn't be found, so I
don't think that the tnsnames.ora is the reason here.

I also tried all weird combination of upper and lowercase, which doesn't seem
to matter to sql*plus, so I figure it doesn't make a difference in PHP.

Has anybody in this newsgroup ever run into the same problem?

Thanks,
Ruben
- -- Ruben Schoenefeld, ICQ 1-971-310,
http://support.uni-oldenburg.de/~ruben/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFCScsuKxQwayh8oDERAptLAJ92I+rwAXK6FI1zLwwS45 PEwviiwgCdE3rX
Gq7wZi2ed/PgFmszmZzDPj4=
=H25I
-----END PGP SIGNATURE-----


- --
Ruben Schoenefeld, ICQ 1-971-310, http://support.uni-oldenburg.de/~ruben/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFCSeMbKxQwayh8oDERAlQJAJ45lS0UvAeYO1RDI04rlz DZCN//rQCgilSm
/Yjf1Zjz9G+/lR1MGsA9ykI=
=gvgC
-----END PGP SIGNATURE-----
Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.