Tianon Gravi 9 лет назад
Родитель
Сommit
da60ddc93a
1 измененных файлов с 12 добавлено и 12 удалено
  1. 12 12
      php/content.md

+ 12 - 12
php/content.md

@@ -113,18 +113,18 @@ Some extensions are not provided via either Core or PECL; these can be installed
 ```dockerfile
 FROM php:7.0-apache
 RUN curl -fsSL 'https://xcache.lighttpd.net/pub/Releases/3.2.0/xcache-3.2.0.tar.gz' -o xcache.tar.gz \
-    && mkdir -p xcache \
-    && tar -xf xcache.tar.gz -C xcache --strip-components=1 \
-    && rm xcache.tar.gz \
-    && ( \
-        cd xcache \
-        && phpize \
-        && ./configure --enable-xcache \
-        && make -j$(nproc) \
-        && make install \
-    ) \
-    && rm -r xcache \
-    && docker-php-ext-enable xcache
+	&& mkdir -p xcache \
+	&& tar -xf xcache.tar.gz -C xcache --strip-components=1 \
+	&& rm xcache.tar.gz \
+	&& ( \
+		cd xcache \
+		&& phpize \
+		&& ./configure --enable-xcache \
+		&& make -j$(nproc) \
+		&& make install \
+	) \
+	&& rm -r xcache \
+	&& docker-php-ext-enable xcache
 ```
 
 ### Without a `Dockerfile`