Help installing MongoDB and PHP to work together
Budget: $10 – $30 USD
I would like to get PHP and MongoDB working together on a new installation of ubuntu 20.04 LTS. MongoDB is installed and PHP is installed but despite my efforts I have not been able to get them to talk. Therefore I would like someone to prepare instructions showing how to install them on a NEW install of ubuntu 20.04 LTS. In other words, the computer will be erased and a new copy of ubuntu 20.04 LTS will be installed.
You will need to give the instructions, all necessary steps, like this example:
1. Install ubuntu
2. # apt update && apt upgrade
3. <install apache>
4. <install php>
5. <install mongodb>
6. <...>
Every step needed to install MongoDB and PHP for them to work together.
Then after this you will create a database in Mongo:
> use testdb
> db.test_collection.insert({ test_field: "0" })
> show collections
After the test database and collection are created in Mongo, then you will create a simple PHP program (prog.php) to allow PHP to display the available databases, and then to display all collections in the database "test".
$ php prog.php
After you give me the instructions, I will follow the instructions and when everything works, you get paid.
This is simple for someone who is currently working with MongoDB and PHP.
Thank you
You will need to give the instructions, all necessary steps, like this example:
1. Install ubuntu
2. # apt update && apt upgrade
3. <install apache>
4. <install php>
5. <install mongodb>
6. <...>
Every step needed to install MongoDB and PHP for them to work together.
Then after this you will create a database in Mongo:
> use testdb
> db.test_collection.insert({ test_field: "0" })
> show collections
After the test database and collection are created in Mongo, then you will create a simple PHP program (prog.php) to allow PHP to display the available databases, and then to display all collections in the database "test".
$ php prog.php
After you give me the instructions, I will follow the instructions and when everything works, you get paid.
This is simple for someone who is currently working with MongoDB and PHP.
Thank you