interbase with php on windows. a step-by-step tutorial
TRANSCRIPT
-
Lorenzo Alberton (http://www.alberton.info/)
HowTo: Install Firebird/Interbase with PHP on Windows. A step-by-step tutorial.(http://www.alberton.info/firebird_php_windows.html)
PHP, PEAR, Database, Firebird SQL, Windows 30 March 2006 15:12 8 comments
This simple tutorial assumes you already have a working PHP installation. There's plenty of guides on how to set up PHP, here I'm only showinghow to make it interact with Firebird.
(http://pear.php.net/) (http://www.php.net/) (http://www.firebirdsql.org/)
Requirements
PHP (http://www.php.net/)Firebird SQL (http://www.firebirdsql.org/)
Install Firebird SQL
Download the zip archive: Firebird SQL 2.0.0 (http://prdownloads.sourceforge.net/firebird/Firebird-2.0.0.12748-0_win32.zip)Extract the archive to C:\firebird (for instance)Open a command prompt window (START, Run, "cmd")Run these commands, one by one:C:\firebird\bin\instreg iC:\firebird\bin\instsvc i -s -aC:\firebird\bin\instsvc start
Configure PHP
Copy C:\firebird\bin\fbclient.dll to your C:\windows\system32 directory and rename the file togds32.dllCopy php_interbase.dll from your php\ext directory to the C:\windows\system32 directory.Copy libeay32.dll and ssleay32.dll from your php directory to the C:\windows\system32 directory.Edit your php.ini, un-comment the lineextension=php_interbase.dll(you have to remove the semicolon from that line).Restart your webserver (Apache).
Install some Firebird SQL Tools
You can manage your databases with some tools:
EMS SQL Manager for InterBase/Firebird (http://www.sqlmanager.net/en/products/ibfb/manager/download) : the free version is more thanenough for a start.FlameRobin (http://www.flamerobin.org/) : another GUI tool, open source.ibWebAdmin (http://www.ibwebadmin.net/) : web frontend for the Firebird and InterBase database servers, written in PHP.
NB: the default admin username:password pair for Firebird is SYSDBA:masterkey.
(http://twitter.com/lorenzoalberton) Follow Lorenzo on Twitter (http://twitter.com/lorenzoalberton)
Related articles
PHP PDO_Firebird status (php_pdo_firebird_status.html)Firebird 2 cheat sheet (firebird_cheat_sheet.html)
-
8 responses to "HowTo: Install Firebird/Interbase with PHP on Windows. A step-by-step tutorial."
moncler jackets, 02 November 2010 07:55
* web frontend for the Firebird and InterBase database servers, written in PHP. NB: the default admin username:password pair for Firebird is SYSDBA:masterkey.
Denis, 28 December 2010 09:32
Thank you! Your article helped me to quickly set up php and firebird
Par mums, 03 January 2011 20:08
Thanks, it was helpful!
wordpress premium themes, 15 May 2011 16:09
Your article helped me to quickly set up php and firebird
reisen malta, 24 May 2011 23:58
Nice this helped me with my Windows System
Patty, 31 May 2011 10:15
Thanks a LOT............................
obeng, 16 August 2011 18:07
Thanks,
Muhammad Nadat, 05 September 2011 12:08
im trying to create a php application to connect to interbase but im using a 64bit system, iv followed your tutorial but i still cant get it to work i getthe following error Fatal error: Call to undefined function ibase_connect() in C:\\xampp\\htdocs\\phase\\includes\\config.php on line 11 anotherthing is where do i get the php_interbase.dll because i cant find it in my php/ext folder !!
Leave a reply
Name (required) Homepage Email address (required)
(it will NOT be published)
(required)No HTML tags. All comments need to be approved before they appear on the site - this is not to weed out critical comments, but just spam.
2 + 3 = (required)Please solve this simple operation.
Submit comment
Back to the articles archive (http://www.alberton.info/articles) 2009-2010 Lorenzo Alberton (http://www.alberton.info/about) Home (http://www.alberton.info/) Articles (http://www.alberton.info/articles) Projects (http://www.alberton.info/projects) Portfolio (http://www.alberton.info/portfolio) Talks (http://www.alberton.info/talks) Donate
Database SystemBusiness intelligence experts sharing their secretswith you. Go!www.AllAnalytics.com
NuoDB - NewSQL LeaderElastic SQL database for the cloud Download theBeta todaywww.nuodb.com
Classic Trans AmsVintage Pontiac Trans Am for Sale View ouronline showroom now!www.rkmotorscharlotte.com
-
(http://www.alberton.info/donate)