Last active
November 17, 2015 06:34
-
-
Save darkcolonist/44464e747a2f56c7c461 to your computer and use it in GitHub Desktop.
installing mongo for php5.3vc6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
check if thread-safe:
![image](https://cloud.githubusercontent.com/assets/1698869/11203868/814cd2ee-8d33-11e5-9cac-fda5da949cea.png)
how to verify if mongo has been successfully installed:
![image](https://cloud.githubusercontent.com/assets/1698869/11203866/784f5504-8d33-11e5-8b16-7aa747486a70.png)