How to use MongoDB with PHP | MongoDB extension for PHP | PHP-MongoDB full video | 100% working

preview_player
Показать описание
To install composer :
To install MongoDB:
To install Apache2:

Note: The commands mentioned below are not in serial order. watch the video and copy the required command.
sudo apt install php7.3
sudo apt install libapache2-mod-php7.3
sudo apt install php7.3-common
sudo apt install php7.3-mysql
sudo apt install php7.3-gmp
sudo apt install php7.3-cli
//optional
sudo a2enmod php7.3
//Optional
sudo a2dismod php7.2

```
```
composer require mongodb/mongodb --ignore-platform-reqs

For the code :
Рекомендации по теме
Комментарии
Автор

Only one thought. The way you're submitting this form. You're waiting for a form value to be set. If, say, theoretically, your buttons ever changed in the years of maintenance your app would be up for, it would stop working unless the insert code was changed too. Cleaner and easier to listen for the REQUEST_METHOD == POST. Other than that, great video, and thanks for the refresher.

PriestessOfDada
Автор

Thank you. It work's! make shure to restart your apache service after you make the changes. Also I tested it with php version 7.4

felipemunozr
join shbcf.ru