| |

VerySource

 Forgot password?
 Register
Search
View: 10|Reply: 6

php connection oracle database problem

[Copy link]

1

Threads

4

Posts

5

Credits

Newbie

Rank: 1

Credits
5

 China

Post time: 2020-3-3 09:30:01
| Show all posts |Read mode
Dear heroes, my brother has just studied PHP. Now I encounter a problem, when I connect to oracle with ora_logon, I can connect, but not with OCILogon, prompt: Call to undefined function OCILogon (). Is there any difference between these two functions? Why can't I connect with OCILogon? Thank you……
Reply

Use magic Report

0

Threads

1

Posts

2

Credits

Newbie

Rank: 1

Credits
2

 China

Post time: 2020-5-18 17:45:01
| Show all posts
Database version issue
Reply

Use magic Report

0

Threads

1

Posts

2

Credits

Newbie

Rank: 1

Credits
2

 China

Post time: 2020-5-20 13:45:01
| Show all posts
The names are different, can it be a function?
Reply

Use magic Report

1

Threads

4

Posts

5

Credits

Newbie

Rank: 1

Credits
5

 China

 Author| Post time: 2020-5-26 13:45:02
| Show all posts
Upstairs, these two are of course not a function, I asked them what is the difference.
Reply

Use magic Report

1

Threads

4

Posts

5

Credits

Newbie

Rank: 1

Credits
5

 China

 Author| Post time: 2020-6-1 16:45:02
| Show all posts
I saw that php is connected to the database, there is also a PDO way, I do n’t know which expert has used it! Can you talk about how to use it?
Reply

Use magic Report

1

Threads

4

Posts

5

Credits

Newbie

Rank: 1

Credits
5

 China

 Author| Post time: 2020-6-14 21:45:01
| Show all posts
The connection between oracle and php is really difficult to configure. I just switched to PDO to connect, mysql and mssql are fine. But Oracle always prompts: could not find driver, and in phpinfo(), I don't see oci in PDO...etc., information about Oracle connection.
Reply

Use magic Report

0

Threads

26

Posts

15

Credits

Newbie

Rank: 1

Credits
15

 China

Post time: 2020-6-23 11:45:01
| Show all posts
Look at the manual, it is very clear in the middle
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2020|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list