Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> FireBird, PHP5 + FireBird
peyo
post
Post #1





Grupa: Zarejestrowani
Postów: 1
Pomógł: 0
Dołączył: 1.02.2005

Ostrzeżenie: (0%)
-----


Mam zainstalowane:
Apache2.0
PHP5
FireBird (najnowsza wersja - nie pamietam numerka, nie jest istotny)

I teraz tak:
przy probie podlaczenia sie do firebirdowej bazy mam komunikat:
"Fatal error: Call to undefined function ibase_connect() in C:\Apache2\htdocs\test.php on line 7"

Wiem, odeslecie mnie pewnie do manuala na php.net , ale tam jest jeden myk, ktorego nie kapuje. Plik php.ini mam w c:\windows i wpisalem
magic_quotes_sybase = On

Dalej nastepuje tabelka InterBase configuration options ktorej nie kumam - gdzie mam umiescic te wpisy? mam sobie sam stworzyc w php.ini sekcje [Interbase] (IMG:http://forum.php.pl/style_emoticons/default/questionmark.gif) ?

Przykladowo:

[ibase]
allow_persistent="On"

(IMG:http://forum.php.pl/style_emoticons/default/questionmark.gif) ?

I co znaczy kolumna po prawej stronie z wartosciami: PHP_INI_SYSTEM, PHP_INI_ALL.

Zamierzam napisac w php czesc swojej pracy dyplomowej, ktora robie w Delphi/Firebird. Pomozcie prosze - co musze wpisac i gdzie?

BTW - czy nie musze jakos zaladowac php_interbase.dll ? Gdzie jesli tak ?
Go to the top of the page
+Quote Post
DeyV
post
Post #2





Grupa: Zarząd
Postów: 2 277
Pomógł: 6
Dołączył: 27.12.2002
Skąd: Wołów/Wrocław




wystarczy usunąć średnik w lini

extension=php_interbase.dll

i
Cytat
Note to Win32 Users: In order to enable this module on a Windows environment, you must copy gds32.dll from the DLL folder of the php/Win32 binary package to the SYSTEM32 folder of your windows machine. (Ex: C:\WINNT\SYSTEM32 or C:\WINDOWS\SYSTEM32). In case you installed the InterBase database server on the same machine php is running on, you will have this DLL already. Therefore you don't need to copy gds32.dll from the DLL folder.
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 25.08.2025 - 07:10