Skip to content

Commit 45ae357

Browse files
author
Martin Köditz
authored
Added --disable-all switch
Added --disable-all switch to windows build command
1 parent 41ba820 commit 45ae357

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

README.md

+6-4
Original file line numberDiff line numberDiff line change
@@ -96,27 +96,29 @@ If everything is ok, we can now compile our PHP extension. Please specify the th
9696
Usually you will build thread safe extensions.
9797
For Win32 thread safe (TS) do:
9898
```
99-
buildconf && configure --enable-cli --with-interbase="shared,C:\Program Files (x86)\Firebird\3_0" && nmake
99+
buildconf --force && configure --disable-all --enable-cli --with-interbase="shared,C:\Program Files (x86)\Firebird\3_0" && nmake
100100
```
101101
For Win64thread safe (TS) do:
102102
```
103-
buildconf && configure --enable-cli --with-interbase="shared,C:\Program Files\Firebird\3_0" && nmake
103+
buildconf --force && configure --disable-all --enable-cli --with-interbase="shared,C:\Program Files\Firebird\3_0\lib" && nmake
104104
```
105105
After the compilation you can find your extension called `php_interbase.dll` e.g. in `C:\php-sdk\phpmaster\vc15\x64\php-src\x64\Release_TS\php_interbase.dll`
106106
Replace x64 with x86 for Win32.
107107

108108
#### Build NTS extension
109109
For Win32 non-thread safe (NTS) run:
110110
```
111-
buildconf && configure --disable-zts --enable-cli --with-interbase="shared,C:\Program Files (x86)\Firebird\3_0" && nmake
111+
buildconf --force && configure --disable-zts --disable-all --enable-cli --with-interbase="shared,C:\Program Files (x86)\Firebird\3_0" && nmake
112112
```
113113
For Win64 non-thread safe (NTS) run:
114114
```
115-
buildconf && configure --disable-zts --enable-cli --with-interbase="shared,C:\Program Files\Firebird\3_0" && nmake
115+
buildconf --force && configure --disable-zts --disable-all --enable-cli --with-interbase="shared,C:\Program Files\Firebird\3_0\lib" && nmake
116116
```
117117
After the compilation you can find your extension called `php_interbase.dll` e.g. in `C:\php-sdk\phpmaster\vc15\x86\php-src\Release`
118118
Replace x86 with x64 for Win64.
119119

120+
#### Clean up your working directory
121+
After you've created the binary data, many temporary files will be created in your working directory. These can be removed with the command `nmake clean`. Then you have a tidy directory again.
120122

121123

122124

0 commit comments

Comments
 (0)