Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
docker_notes:nginx-php-notes [2023-10-15 Sun wk41 11:46] – [nginx fastcgi setup] baumkpdocker_notes:nginx-php-notes [2024-02-24 Sat wk08 14:19] (current) – [Some reference links] baumkp
Line 1: Line 1:
-======nginx / php notes======+{{tag>linux docker nginx php fast-cgi php-fpm}} 
 +======Docker nginx / php notes======
  
 =====nginx executable===== =====nginx executable=====
-I had some trouble getting nginx with php-fpm to operate.  So I tried to get working a simple setup to nut-out the nuances. +I had some trouble getting nginx with php-fpm to operate.  So I tried to get working a simple setup to nut-out the nuances. <fc #008080>**I got it working using php-fpm socket with Apline Linux on 2 Docker instances, one running Nginx and the other php-fpm.**</fc>  Next try would be a second Nginx in separate Docker and then trying IP TCP connectivity instead of socket file.
  
 To run and control nginx. To run and control nginx.
Line 3170: Line 3171:
     *[[https://www.librebyte.net/en/systems-deployment/how-to-install-php-php-fpm-in-alpine-linux/|How to install PHP, PHP-FPM in Alpine Linux?]]     *[[https://www.librebyte.net/en/systems-deployment/how-to-install-php-php-fpm-in-alpine-linux/|How to install PHP, PHP-FPM in Alpine Linux?]]
     *[[https://phoenixnap.com/kb/linux-socket|How Linux Uses Sockets]]     *[[https://phoenixnap.com/kb/linux-socket|How Linux Uses Sockets]]
 +    *[[https://www.sitepoint.com/docker-php-development-environment/|Setting Up a Modern PHP Development Environment with Docker]]
 +    *[[https://dev.to/texe/how-to-run-nginx-and-php-in-docker-5eoi|How to run Nginx and PHP in Docker]]
 +    *[[https://github.com/TrafeX/docker-php-nginx|TrafeX/docker-php-nginx]]
  
-<- docker_notes:docker-dhcp|Back ^ docker_notes:index|Start page ^ |End->+<- docker_notes:/diun-ntfy|Back ^ docker_notes:index|Start page ^ |End->
  • /app/www/public/data/attic/docker_notes/nginx-php-notes.1697341580.txt.gz
  • Last modified: 2023-10-15 Sun wk41 11:46
  • by baumkp