mirror of
				https://github.com/mashirozx/docker-php-nginx.git
				synced 2025-05-29 01:49:24 +08:00 
			
		
		
		
	Replace old PHP7 example with PHP8
This commit is contained in:
		
							parent
							
								
									6a440c890f
								
							
						
					
					
						commit
						df1a00c979
					
				@ -51,11 +51,11 @@ Nginx configuration:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
PHP configuration:
 | 
					PHP configuration:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    docker run -v "`pwd`/php-setting.ini:/etc/php7/conf.d/settings.ini" trafex/php-nginx
 | 
					    docker run -v "`pwd`/php-setting.ini:/etc/php8/conf.d/settings.ini" trafex/php-nginx
 | 
				
			||||||
 | 
					
 | 
				
			||||||
PHP-FPM configuration:
 | 
					PHP-FPM configuration:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    docker run -v "`pwd`/php-fpm-settings.conf:/etc/php7/php-fpm.d/server.conf" trafex/php-nginx
 | 
					    docker run -v "`pwd`/php-fpm-settings.conf:/etc/php8/php-fpm.d/server.conf" trafex/php-nginx
 | 
				
			||||||
 | 
					
 | 
				
			||||||
_Note; Because `-v` requires an absolute path I've added `pwd` in the example to return the absolute path to the current directory_
 | 
					_Note; Because `-v` requires an absolute path I've added `pwd` in the example to return the absolute path to the current directory_
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user