Skip to content

Instantly share code, notes, and snippets.

@darkcolonist
Last active November 17, 2015 06:34
Show Gist options
  • Save darkcolonist/44464e747a2f56c7c461 to your computer and use it in GitHub Desktop.
Save darkcolonist/44464e747a2f56c7c461 to your computer and use it in GitHub Desktop.
installing mongo for php5.3vc6
not highly recommended but will make you work with mongo on your legacy vc6 php installation
download your required dll here;
https://s3.amazonaws.com/drivers.mongodb.org/php/index.html
i used:
https://s3.amazonaws.com/drivers.mongodb.org/php/mongo-1.1.4.zip
then because my version was php5.3vc6
i extracted php_mongo.dll from;
mongo-1.1.4.zip\mongo-1.1.4-php5.3vc6ts - ZIP archive
also, my version of php is threadsafe; usually can be found via phpinfo() command:
Thread Safety enabled
then after you have enabled php_mongo.dll in php.ini; restart apache then reload phpini() you should find mongo in the phpinfo()
@darkcolonist
Copy link
Author

check if thread-safe:
image

how to verify if mongo has been successfully installed:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment