Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Build rockmongo in window environment

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

The first step is to configure the PHP environment, which can be installed with one click of Apache's integration service.

Ensure that the PHP environment is set up properly before you can do the following

1. Download rockmongo

Download address: http://rockmongo.com/downloads

Extract the downloaded package rockmongo-1.1.5.zip to the web release directory (I use apache here. Please refer to the DocumentRoot entry in httpd.conf)

two。 Download the mongodb extension

Download address: https://github.com/mongodb/mongo-php-driver/downloads

What I download here is the version shown below:

Extract the downloaded zip file and copy the php_mongo.dll file in the following directory to the ext file in the php installation directory. Here is C:\ php5\ ext.

3. Modify the php.ini file this file is in the windows directory, which I looked for for a long time when I started doing it.

Add extension=php_mongo.dll to the php.ini file

4. Restart apache

5. Modify the file config.php in rockmongo. I didn't modify it here when I built it.

$MONGO ["servers"] [$I] ["mongo_name"] = "192.168.112.128"; / / mongo server name

$MONGO ["servers"] [$I] ["mongo_host"] = "192.168.112.128"; / / mongo host

Modify the mongo_name and mongo_host as above to the hostname and ip address of the current database

6. Log in to mongodb using rockmongo

Run the index.php prompt with the following interface

The user name and password here are admin by default.

7. The interface after login is as follows

-- The End--

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report