Get the App
SLTechnology News&Howtos  ›  Database  › 

Build rockmongo in window environment

Shulou Source: shulou.com Published: 2022-06-01 15:56:40 10月02日 Update

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--

Tags: File directory address environment time interface login host such as above password data database version user user name Apache one button Appa reference prompt Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Technology Apple Redmi Shulou Information Microsoft