How to connect MongoDB Database For PHP

See the video for more detail.

  1. easyphp14.1
  2. php_mongo-1.4.1-5.5-vc11.dll file
  3. vcredist_x86 software
  4. MongoDB
Steps for Database connectivity using MongoDB database using Easy PHP:

1)First install easyphp 14.1 version

2)Copy paste php_mongo-1.4.1-5.5-vc11.dll file in
C:\Program Files (x86)\EasyPHP-DevServer-14.1VC11\binaries\php\php_runningversion\ext
3) Easyphp shows error msg for VC++ for that install software vcredist_x86

4) Start Apache .if it is giving error for port 80 then change port no to 8080 in httpd.conf file.
http.conf file is present in
C:\Program Files (x86)\EasyPHP-DevServer-14.1VC11\binaries\apache\conf

Port number changing from 80 to 8080 in httpg file

3)Add extension=php_mongo-1.4.1-5.5-vc11.dll to php.ini file .
php.ini (php configuration file ) file is present in
C:\Program Files (x86)\EasyPHP-DevServer-14.1VC11\binaries\php\php_runningversion
4)Then start mongo server.