It is very easy to install PHP in Windows 7. We recommend that you use WPI and choose php5.2 for installation through the framework and runtime:
MongoDB is integrated with PHP in the form of PHP extension library. dll.
Download the DLL file of the corresponding PHP version in windows at the following URL:
Http://cn.php.net/manual/en/mongo.installation.php#mongo.installation.windows
Select a PHP version based on your PHP version and whether it is thread safe (you can view it in phpinfo, safe_mode = OFF). For example:
PHP 5.2 vc6 thread-safe Mongo extension:
Http://downloads.mongodb.org/mongo-latest-php5.2vc6ts.zip
Download and pressurize the php_cmd.dll file. Copy to the ext directory under the PHP installation directory and add it to the php. ini file:
Extension = php_cmd.dll;
Restart IIS
Download ghost from the following URLProgramPut it in a separate application pool, such as PHP, to enable 32-bit support:
The following page is displayed: