当我尝试构建Docker文件并执行phpize
命令时,我收到以下错误。
Cannot find config.m4.
Make sure that you run '/usr/bin/phpize' in the top level source directory of the module
我不能在Docker文件中使用phpize
吗?
RUN apt-get install -qq -y php7.0-dev git pkg-config build-essential libmemcached-dev subversion
RUN cd ~
RUN git clone https://github.com/php-memcached-dev/php-memcached.git
RUN cd php-memcached
RUN phpize && ./configure
RUN ./configure --disable-memcached-sasl
RUN make all install