workaround for 'Xdebug breaks on access to class static property' (#654)
see https://github.com/docker-library/php/issues/133
This commit is contained in:
		 alchimik
					alchimik
				
			
				
					committed by
					
						 Philippe Trépanier
						Philippe Trépanier
					
				
			
			
				
	
			
			
			 Philippe Trépanier
						Philippe Trépanier
					
				
			
						parent
						
							178d7e1505
						
					
				
				
					commit
					94c6240586
				
			| @@ -55,8 +55,11 @@ RUN if [ ${INSTALL_SOAP} = true ]; then \ | ||||
| ARG INSTALL_XDEBUG=false | ||||
| RUN if [ ${INSTALL_XDEBUG} = true ]; then \ | ||||
|     # Install the xdebug extension | ||||
|     pecl install xdebug && \ | ||||
|     docker-php-ext-enable xdebug \ | ||||
|     # pecl install xdebug && docker-php-ext-enable xdebug \ | ||||
|     # workaround for https://github.com/docker-library/php/issues/133 | ||||
|     #     - Xdebug breaks on access to class static property | ||||
|     apt-get install -y php5-xdebug && \ | ||||
| 	echo "zend_extension=/usr/lib/php5/20131226/xdebug.so" > /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini \ | ||||
| ;fi | ||||
|  | ||||
| # Copy xdebug configration for remote debugging | ||||
|   | ||||
		Reference in New Issue
	
	Block a user