有关编译安装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
讨论数量: 4

不够再补呗

3年前 评论
wanQQ (楼主) 3年前

[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相关的

3年前 评论
wanQQ (楼主) 3年前

讨论应以学习和精进为目的。请勿发布不友善或者负能量的内容,与人为善,比聪明更重要!