Backup, Compilation Commands for Nginx and PHP7

Backing up the Nginx compilation shell script stored in Wiz Note for a long time, to avoid having to log in to Wiz every time.(English version Translated by GPT-3.5, 返回中文)

Nginx Compilation Shell

1
2
3
4
5
6
7
8
9
./configure \
--prefix=/usr/local/nginx \
--user=nginx \
--group=nginx \
--with-http_ssl_module \
--with-http_flv_module \
--with-http_gzip_static_module \
--with-http_stub_status_module \
--with-stream

PHP7 Compilation Shell

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
./configure --prefix=/usr/local/php7 \
--with-config-file-path=/usr/local/php7/etc \
--with-config-file-scan-dir=/usr/local/php7/etc/php.d \
--enable-mysqlnd \
--with-mysqli \
--with-pdo-mysql \
--enable-fpm \
--with-iconv \
--with-zlib \
--enable-inline-optimization \
--enable-mbregex \
--enable-mbstring \
--enable-pcntl \
--enable-sockets \
--enable-soap \
--enable-session \