有关编译安装PHP-8.1(PHP-7.4)和 nginx-1.21.4 扩展和模块的提问
有关编译安装 PHP-8.1(PHP-7.4)和 nginx-1.21.4 扩展和模块的提问
- 我使用编译安装 PHP-8.1(PHP-7.4)和 nginx-1.21.4 的方式构建了一个Docker镜像,目的是用来学习使用
- 需求是可以正常运行 Thinkphp 和 Laravel
- 编译 PHP-8.1(PHP-7.4)时的 configure 为
./configure --prefix=/usr/local/php \
--with-config-file-path=/usr/local/php/etc \
--enable-fpm \
--enable-mbstring \
--with-curl \
--with-mysqli \
--enable-bcmath \
--with-openssl \
--with-zlib \
--enable-redis
- 编译 nginx-1.21.4 时的 configure 为
./configure --prefix=/usr/local/nginx \
--user=nginx \
--group=nginx \
--with-pcre \
--with-http_ssl_module \
--with-http_v2_module \
--with-http_realip_module \
--with-http_addition_module \
--with-http_sub_module \
--with-http_dav_module \
--with-http_flv_module \
--with-http_mp4_module \
--with-http_gunzip_module \
--with-http_gzip_static_module \
--with-http_random_index_module \
--with-http_secure_link_module \
--with-http_stub_status_module \
--with-http_auth_request_module \
--with-http_image_filter_module \
--with-http_slice_module \
--with-mail \
--with-threads \
--with-file-aio \
--with-stream \
--with-mail_ssl_module \
--with-stream_ssl_module
不够再补呗
[PHP Modules] Core ctype curl date dom fileinfo filter ftp hash iconv json libxml mbstring mysqlnd oci8 openssl pcre PDO PDO_OCI pdo_sqlite Phar posix readline redis Reflection session SimpleXML sodium SPL sqlite3 standard tokenizer xdebug xml xmlreader xmlwriter zlib
[Zend Modules] Xdebug
如果不用oracle可以不装 oci相关的