Skip to content
This repository has been archived by the owner on Jun 19, 2023. It is now read-only.

Compiled Firebird Database PHP Extension on MacOS

License

Notifications You must be signed in to change notification settings

YeeJiaWei/php-firebird-database

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

PHP Firebird Database Extension

You can find pre-compiled extension for php 8.0.19 in /src folder

How to compile - interbase.so

  1. First clone the source repository to you local machine
git clone https://github.com/FirebirdSQL/php-firebird.git
  1. Cd into folder
cd php-firebird
  1. Prepare the build environment for a PHP extension
phpize

CPPFLAGS=-I/Library/Frameworks/Firebird.framework/Versions/Current/Headers LDFLAGS=-L/Library/Frameworks/Firebird.framework/Versions/Current/Libraries ./configure
  1. Compile
make
  1. Finally, copy interbase.so in php-firebird/module into php extension folder and add
extension=interbase.so

How to compile - pdo_firebird.so

  1. First clone the source repository to you local machine
git clone https://github.com/php/php-src.git
Note: be sure to checkout to tag which match your php version!
  1. Cd into extension folder
cd php-src/ext/pdo_firebird
  1. Prepare the build environment for a PHP extension
phpize

CPPFLAGS=-I/Library/Frameworks/Firebird.framework/Versions/Current/Headers LDFLAGS=-L/Library/Frameworks/Firebird.framework/Versions/Current/Libraries ./configure
  1. Compile
make
  1. Finally, copy pdo_firebird.so in php-src/ext/pdo_firebird/module into php extension folder and add
extension=pdo_firebird.so

About

Compiled Firebird Database PHP Extension on MacOS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published