Skip to content

Commit 62a8b51

Browse files
authored
Update for PHP 7.4.2
1 parent 7fa7cb2 commit 62a8b51

File tree

1 file changed

+24
-6
lines changed

1 file changed

+24
-6
lines changed

README.md

+24-6
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,35 @@
11
# Compiling Interbase/Firebird extension for PHP 5/7 under MAC OS X
22

3-
Short tutorial on how to compile Firebird extension for PHP under MAC OS X El Capitan 10.11
3+
Short tutorial on how to compile Firebird extension for PHP under MAC OS.
44

5-
## Update 2020-03-30
5+
## Before compiling PHP extension you must have
6+
- Autoconf, you can install it via Homebrew (brew install autoconf)
7+
- Because we needs Firebird libs. for compiling interbase, we have to download Firebird Server Package (http://www.firebirdsql.org/en/downloads), download the LIPO package (important!)
68

7-
The tutorial is still working, keep in mind that this tutorial is for Firebird 2.5.x only!
9+
## Update 2020-09-08
10+
11+
Interbase extension is currently not shipped with PHP source code. But below you will find way to achieve it.
12+
13+
## Let's compile! (MAMP 5.7 ... PHP 7.4.2 )
14+
15+
@MartinKoeditz is working on driver for PHP>=7.1. The repo is here: https://github.com/FirebirdSQL/php-firebird. We cannot download final driver, one needs to compile it, here is how.
16+
17+
<ol>
18+
<li>git clone https://github.com/FirebirdSQL/php-firebird.git</li>
19+
<li>cd php-firebard</li>
20+
<li>/Applications/MAMP/bin/php/php7.4.2/bin/phpize</li>
21+
<li>CPPFLAGS="-I/usr/local/lib/Firebird.framework/Headers" ./configure</li>
22+
<li>make</li>
23+
<li>make install</li>
24+
<li>Open MAMP pro PHP 7.4.2 config file (.ini extension) and append new line: extension=interbase.so</li>
25+
<li>Restart MAMP server</li>
26+
</ol>
827

928
<hr>
1029

11-
## Before compiling PHP extension you must have
12-
- Autoconf, you can install it via Homebrew (brew install autoconf)
13-
- Because we needs Firebird libs. for compiling interbase, we have to download Firebird Server Package (http://www.firebirdsql.org/en/downloads), download the LIPO package (important!)
30+
## Update 2020-03-30
1431

32+
The tutorial is still working, keep in mind that this tutorial is for Firebird 2.5.x only!
1533

1634
## Let's compile! (MAMP 4.1.1 ... PHP 7.1.1)
1735

0 commit comments

Comments
 (0)