3

当我尝试构建 Docker 文件并执行phpize命令时,出现以下错误。

Cannot find config.m4. 
Make sure that you run '/usr/bin/phpize' in the top level source directory of the module

我不能phpize在 Docker 文件中使用吗?

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
4

0 回答 0