Subject Re: [firebird-php] PHP-Firebird HowTo
Author Markus Lervik
On Thu, 2003-10-30 at 17:11, Lou wrote:
> Does there exist a document on how to get PHP working with Firebird
> on Win32 and/or Linux? I have been experimenting with PHP and will
> next be giving MySQL a try (book I am using is a PHP My SQL book),
> but will then switch to Firebird as all my apps use FB.
>
> - Lou

That's not really too hard, I can write one up for you right here and
now :)

*nix:

1) Get a source package for PHP.
2) Install Firebird
3) Compile PHP with --with-interbase=/usr/local/firebird (or the correct
path)

You should now have a working PHP+Interbase/Firebird setup on your *nix
box.

Win32:

1) Get and install PHP (the ZIP file, not the installer, as the ZIP file
has extensions included that aren't in the installer, with
php_interbase.dll being one)
2) Get and install Firebird
3) edit php.ini and uncomment the line that says
";extension=php_interbase.dll"

You should now have a working PHP+Interbase/Firebird setup on your win32
box.

For both; edit php.ini and set magic_quotes_sybase = On

For more information about the interbase extension for PHP, see

http://www.php.net/ibase



Hope this helps.

-Markus

--
Markus Lervik /"\ ASCII Ribbon Campaign
Digital Diversity Studios \ / Against HTML Mail,
http://www.digitaldiversity.info X HTML News too, and
info@... / \ MS WORD docs.
++