PHP i Oracle |
PHP i Oracle |
27.12.2012, 14:37:06
Post
#1
|
|
Grupa: Zarejestrowani Postów: 12 Pomógł: 0 Dołączył: 1.08.2006 Ostrzeżenie: (0%) |
Witajcie,
chce polaczyc sie z baza Oracle, zrobilem wszystko tak jak w tym tutorialu http://itswadesh.wordpress.com/2011/12/03/...server-manager/ i niestety nic mam: XAMPP v.3.1.0 Oracle - OraClient11g_home1 Windows8 64bit w php.ini odznaczylem: extension=php_oci8.dll ; Use with Oracle 10gR2 Instant Client extension=php_oci8_11g.dll ; Use with Oracle 11gR2 Instant Client zrobilem sobie prosty skrypt <?php $conn = oci_connect('hr', 'welcome', 'localhost/XE'); ?> no i niestety wywala mi blad: Fatal error: Call to undefined function oci_connect() in C:\xampp\htdocs\oracle\1.php on line 3 probowalem juz restartowac komputer i nic :/ ktos ma pomysl co moge jeszcze zrobic? -------------------- |
|
|
27.12.2012, 17:21:35
Post
#2
|
|
Grupa: Zarejestrowani Postów: 104 Pomógł: 3 Dołączył: 13.10.2004 Ostrzeżenie: (0%) |
On Windows, uncomment the php.ini line extension=php_oci8.dll when using Oracle 10gR2 client libraries. Uncomment extension=php_oci8_11g.dll when using Oracle 11g client libraries. These two DLLs contain equivalent functionality and only one may be enabled at a time.
|
|
|
28.12.2012, 07:19:35
Post
#3
|
|
Grupa: Zarejestrowani Postów: 12 Pomógł: 0 Dołączył: 1.08.2006 Ostrzeżenie: (0%) |
tzn tak tez zrobilem, ze zostawilem tylko odznaczona linijke dla wersji 11, czyli tej ktora mam zainstalowana i nadal nic ;/
dla pewnosci zostawilem odznaczona linijke z wersja 11 i zrestartowalem komputer (a nie tylko apache). teraz mam taki oto blad :/ Ten post edytował regi_ 28.12.2012, 07:47:03 -------------------- |
|
|
3.01.2013, 10:25:53
Post
#4
|
|
Grupa: Zarejestrowani Postów: 104 Pomógł: 3 Dołączył: 13.10.2004 Ostrzeżenie: (0%) |
W SQLPlus wykonaj takie zapytanie:
Wklej odpowiedź. http://www.oracle.com/technetwork/topics/p...cle-1884760.pdf |
|
|
7.01.2013, 08:03:42
Post
#5
|
|
Grupa: Zarejestrowani Postów: 12 Pomógł: 0 Dołączył: 1.08.2006 Ostrzeżenie: (0%) |
mam taki zwrot:
Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product PL/SQL Release 10.2.0.1.0 - Production "CORE 10.2.0.1.0 Production" TNS for 32-bit Windows: Version 10.2.0.1.0 - Production NLSRTL Version 10.2.0.1.0 - Production -------------------- |
|
|
7.01.2013, 12:18:29
Post
#6
|
|
Grupa: Zarejestrowani Postów: 104 Pomógł: 3 Dołączył: 13.10.2004 Ostrzeżenie: (0%) |
uncomment the php.ini line extension=php_oci8.dll when using Oracle 10gR2 client libraries.
|
|
|
7.01.2013, 12:37:01
Post
#7
|
|
Grupa: Zarejestrowani Postów: 12 Pomógł: 0 Dołączył: 1.08.2006 Ostrzeżenie: (0%) |
też już tak próbowałem, mam odznaczoną bibliotekę php_oci8.dll ale nadal coś nie trybi ;/
komunikat po wywołaniu skryptu: Fatal error: Call to undefined function oci_connect() in C:\xampp\htdocs\oracle\1.php on line 3 -------------------- |
|
|
Wersja Lo-Fi | Aktualny czas: 22.09.2024 - 18:09 |