tina4stack / tina4php-firebird
Tina4 PHP Firebird Database Driver
Installs: 1 185
Dependents: 5
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- ext-interbase: *
- tina4stack/tina4php-database: ^2.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.2
- overtrue/phplint: ^2.0
- phpunit/phpunit: ^9
- roave/security-advisories: dev-latest
README
Installation
composer require tina4stack/tina4php-firebird
Testing with Docker
docker run -d --platform linux/x86_64 -p 33050:3050 -e ISC_PASSWORD=pass1234 -e FIREBIRD_DATABASE=TINA4.FDB -e FIREBIRD_USER=firebird jacobalberty/firebird:3.0
composer test
MacOS
Install from Firebird 3.0 Package Start the server
sudo -u Firebird /Library/Frameworks/Firebird.framework/Resources/bin/fbguard -daemon -forever &
cd /Library/Frameworks/Firebird.framework/Resources/lib
sudo install_name_tool libfbclient.dylib -id @executable_path/libfbclient.dylib
sudo install_name_tool libib_util.dylib -id @executable_path/libib_util.dylib
sudo install_name_tool libtommath.dylib -id @executable_path/libtommath.dylib
Compiling the extension for PHP on an MAC, make sure on ARM you have 64bit PHP installed
git clone https://github.com/FirebirdSQL/php-firebird.git cd php-firebird phpize CFLAGS='-arch x86_64' CPPFLAGS=-I/Library/Frameworks/Firebird.framework/Headers LDFLAGS=-L/Library/Frameworks/Firebird.framework/Resources/lib ./configure make