MongoDB Tutorial 2: Introduction: Difference between revisions

m
Reverted edits by Upazixorys (Talk); changed back to last version by Ric
No edit summary
m (Reverted edits by Upazixorys (Talk); changed back to last version by Ric)
 
Line 1: Line 1:
=[http://ihyveqo.co.cc UNDER COSTRUCTION, PLEASE SEE THIS POST IN RESERVE COPY]=
{{Nav MongoDB Tutorial 2}}
{{Nav MongoDB Tutorial 2}}
'''''MongoDB'''''
'''''MongoDB'''''
Line 78: Line 77:
* Run file: z_mongo\UniServer\unicon\tray_menu_2\Run_mongo_db.bat
* Run file: z_mongo\UniServer\unicon\tray_menu_2\Run_mongo_db.bat
Produces the followinf error:
Produces the followinf error:
<pre>
<pre>
Warning: dl(): Unable to load dynamic library 'C:\php5\php_winbinder.dll' - The specified module could not be found.
Warning: dl(): Unable to load dynamic library 'C:\php5\php_winbinder.dll' - The specified module could not be found.
  in C:\z_mongo\UniServer\unicon\tray_menu_2\winbinder\winbinder.php on line 15
  in C:\z_mongo\UniServer\unicon\tray_menu_2\winbinder\winbinder.php on line 15
Line 85: Line 84:
  in C:\z_mongo\UniServer\unicon\tray_menu_2\winbinder\winbinder.php on line 16
  in C:\z_mongo\UniServer\unicon\tray_menu_2\winbinder\winbinder.php on line 16
Press any key to continue . . .
Press any key to continue . . .
&lt;/pre&gt;
</pre>
First line is interesting 'C:\php5\php_winbinder.dll' PHP has tried all paths and finally looked in the default location.  
First line is interesting 'C:\php5\php_winbinder.dll' PHP has tried all paths and finally looked in the default location.  


Line 95: Line 94:


Edit file z_mongo\UniServer\usr\local\php\'''mongo_cli.ini''' un-comment the winbinder extension as shown:
Edit file z_mongo\UniServer\usr\local\php\'''mongo_cli.ini''' un-comment the winbinder extension as shown:
&lt;pre&gt;
<pre>
[PHP]
[PHP]
extension=php_winbinder.dll
extension=php_winbinder.dll


extension_dir = &quot;./extensions&quot;
extension_dir = "./extensions"
error_reporting = E_ALL  
error_reporting = E_ALL  
date.timezone = &quot;Europe/London&quot;
date.timezone = "Europe/London"
extension=php_mongo.dll
extension=php_mongo.dll
&lt;/pre&gt;
</pre>
Rerun the batch file and a window with a few buttons will greet you.
Rerun the batch file and a window with a few buttons will greet you.