File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -120,12 +120,19 @@ bin\phpsdk_setvars.bat
120
120
cd C:\php-sdk\phpdev\vc11\x86\php-5.6.12-src
121
121
nmake clean
122
122
buildconf --force
123
- configure --disable-all --with-openssl --enable-cli --enable-json --enable-mongodb
123
+ configure --disable-all --with-openssl --enable-cli --enable-json --enable-mongodb=shared
124
124
nmake
125
125
```
126
126
127
- If the extension was successfully compiled, "mongodb" should be reported by
128
- ` Release_TS\php.exe -m ` .
127
+ If the extension was successfully compiled, a ` php_mongodb.dll ` file should be
128
+ generated in the build directory (e.g. ` Release_TS ` ). You should then verify
129
+ that the extension loads and executes properly:
130
+
131
+ ```
132
+ cd Release_TS
133
+ php.exe -d extension=./php_mongodb.dll -m
134
+ php.exe -d extension=./php_mongodb.dll -r "var_dump(new MongoDB\Driver\Manager);"
135
+ ```
129
136
130
137
See the [ internals wiki] ( https://wiki.php.net/internals/windows/stepbystepbuild )
131
138
for more information.
You can’t perform that action at this time.
0 commit comments