San*_*han 5 php apache php-7 phpspreadsheet
[通过 APXS 通过 DSO 检查 Apache 2.0 处理程序模块支持...
抱歉,我无法运行 apxs。可能的原因如下:
/usr/local/apache/bin/apxs 的输出如下: ./configure: line 6199: /usr/local/apache/bin/apxs: No such file or directory configure: error: Aborting]
这是错误建议我解决这个问题。
小智 -1
这是apx路径 /usr/local/apache2/bin/apxs
我的apache安装目录是/usr/local/apache2
更改目录 php 文件夹并运行以下命令
./configure \
--with-apxs2=/usr/local/apache2/bin/apxs \
--with-curl=/usr \
--with-gd \
--with-gettext \
--with-jpeg-dir=/usr \
--with-freetype-dir=/usr \
--with-kerberos \
--with-openssl \
--with-mcrypt=/usr/local/lib \
--with-mhash \
--with-mysql=mysqlnd \
--with-mysqli=mysqlnd \
--with-pcre-regex \
--with-pear \
--with-png-dir=/usr \
--with-xsl \
--with-zlib \
--with-zlib-dir=/usr \
--with-iconv \
--enable-bcmath \
--enable-calendar \
--enable-exif \
--enable-ftp \
--enable-gd-native-ttf \
--enable-soap \
--enable-sockets \
--enable-mbstring \
--enable-zip \
--enable-wddx
Run Code Online (Sandbox Code Playgroud)