In mac, use docker to build a development environment, nginx php8.0, and you can already access the website. Now it is the database mysql, mssql and other databases built by docker. You can use Navicat to connect successfully, but in the web page, php connection needs to be installed. apt-get..., and then configure the php.ini file. It is currently in the container php:8.0-fpm. The query liunx distribution version is Debian11. How to install apt-get