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
120120cd C:\php-sdk\phpdev\vc11\x86\php-5.6.12-src
121121nmake clean
122122buildconf --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
124124nmake
125125```
126126
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+ ```
129136
130137See the [ internals wiki] ( https://wiki.php.net/internals/windows/stepbystepbuild )
131138for more information.
You can’t perform that action at this time.
0 commit comments