File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 11FROM php:5.6-apache
22
33# install memcache depdencies
4- RUN apt update
4+ RUN apt-get update
55RUN apt-get install -y \
6- php5-xmlrpc \
7- php5-memcache \
86 libxml2-dev \
97 memcached \
10- php-pear \
118 zlib1g-dev \
129 build-essential \
1310 git
1411
12+ RUN pear install XML_RPC2
13+
1514# install PHP extensions
1615RUN docker-php-ext-install pdo
1716RUN docker-php-ext-install pdo_mysql
@@ -30,7 +29,7 @@ RUN echo "extension=memcache.so" >> /usr/local/etc/php/php.ini
3029RUN echo "date.timezone = Europe/Prague" >> /usr/local/etc/php/php.ini
3130
3231# install xdebug
33- RUN pecl install xdebug
32+ RUN pecl install xdebug-2.5.5 # lates xdebug that supports php5
3433RUN echo "zend_extension=/usr/local/lib/php/extensions/no-debug-non-zts-20131226/xdebug.so" >> /usr/local/etc/php/php.ini
3534RUN echo "xdebug.remote_enable=1" >> /usr/local/etc/php/php.ini
3635RUN echo "xdebug.idekey=PHPSTORM" >> /usr/local/etc/php/php.ini
@@ -39,4 +38,4 @@ RUN echo "xdebug.remote_connect_back=1" >> /usr/local/etc/php/php.ini
3938# install composer
4039RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/bin
4140
42- EXPOSE 9000
41+ EXPOSE 9000
You can’t perform that action at this time.
0 commit comments