I used php_mongo.dll vc6 ts in php5.2.13.
Added extension = php_assist.dll to PhP. ini.
After Apache is restarted, new Mongo is still unavailable. Why?
Then I tried Google, and some of them could be used in 5.3 With php_cmd.dll of 5.2. I tried it, but it still didn't work.
Therefore, Apache/logs/error. log can only be viewed.
The error message is as follows:
Error 1
PHP warning: PhP startup: Unable to load dynamic library 'd: \ Wamp \ php5.2.17 \ php_cmd.dll '-\ xd5 \ xd2 \ XB2 \ xbb \ xb5 \ xbd \ xd6 \ xb8 \ xB6 \ xA8 \ xb5 \ xc4 \ xc4 \ xa3 \ xbf \ xe9 \ xA1 \ xa3 \ r \ n in unknown on line 0
Obviously, the path of extension_dir is missing/EXT during configuration.
Restart Apache after modification
Error 2
PHP warning: PhP startup: Mongo: Unable to initialize module \ nmodule compiled with module API = 20090626, DEBUG = 0, thread-Safety = 1 \ NPHP compiled with module API = 20060613, DEBUG = 0, thread-Safety = 1 \ nthese options need to match \ n in unknown on line 0
This is because 5.3 php_cmd.dll was used at the time. I forgot to replace it with 5.2 vc6ts.
With version 5.2, restart Apache to run everything freely.
Bytes ------------------------------------------------------------------------------------------------------------------
For PHP extension problems, it is intuitive to see logs/error. log. Write this blog post and take this as an example.