Debian + Nginx + PHP7.0-fpm
docker pull wfp2002/debian_nginx_php7
docker run --name nginx_server -itd -p 8080:80 wfp2002/debian_nginx_php7
After you installed go to the terminal of this container and typing:
docker attach nginx_server [2 x Enter] -> and typing: bash [Enter]
service nginx start
service php7.0-fpm start
NGINX Config: etc/nginx/sites-available/default
Root Directory: /var/www/html
To check: http://localhost:8080
*** Para conexoes em banco de dados como MYSQL (Usando mysqli_connect) tem que editar o arquivo php.ini:
nano /etc/php/7.0/fpm/php.ini
Descomentar a linha: extension=php_mysqli.dll
Content type
Image
Digest
Size
87.5 MB
Last updated
over 8 years ago
docker pull wfp2002/debian_nginx_php7