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

Enabling InteBase for php

P: n/a
Hi,
how can i enable InterBase support in php.ini.
Thanks.
Cingy

Jul 17 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
On Sun, 11 Apr 2004 20:01:12 +0200, Cingy wrote:
Hi,
how can i enable InterBase support in php.ini.
Thanks.
Cingy

You can't.
PHP has to be configured with Interbase support. From the manual:
"To enable InterBase support configure PHP --with-interbase[=DIR],
where DIR is the InterBase base install directory, which defaults
to /usr/interbase.

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."

http://www.php.net/manual/en/ref.ibase.php

Regards,
Henk Burgstra
Jul 17 '05 #2

P: n/a
Cingy schrieb:
Hi,
how can i enable InterBase support in php.ini.
Thanks.
Cingy


you need the php source-code if you want to install a php-extension like
databases.

in the php-source directory there is a subdirectory ext for several
extensions e.g.:
for interbase/firebird exists the interbase subdirectory.

you go into the interbase directory an issue the command

phpize

which creates several files for the usual installation process

./configure
make
make install

depending on your php-version you must edit /etc/php.ini
or add a file to /etc/php/ (e.g.: 32_interbase.ini
with content: extension = interbase.so)
happy databasing

herbert

Jul 17 '05 #3

P: n/a
This is what i needed.
Thanks
Cingy
Weinhandl Herbert wrote:
Cingy schrieb:
Hi,
how can i enable InterBase support in php.ini.
Thanks.
Cingy

you need the php source-code if you want to install a php-extension like
databases.

in the php-source directory there is a subdirectory ext for several
extensions e.g.:
for interbase/firebird exists the interbase subdirectory.

you go into the interbase directory an issue the command

phpize

which creates several files for the usual installation process

./configure
make
make install

depending on your php-version you must edit /etc/php.ini
or add a file to /etc/php/ (e.g.: 32_interbase.ini
with content: extension = interbase.so)
happy databasing

herbert


Jul 17 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.