環境
PHP7
CentOS7
Apache2.4
PHPをソースからインストールしていますが、configure時に様々なパッケージを指定するかと思います。
色々サイトを参考にしていると、サイトごとにパッケージが結構異なっており、何が必須なのか、というのがよくわかりません。
例えば、以下の様な感じでいろいろ異なります。
"./configure" \ "--prefix=/usr/local/apache-2.2.17" \ "--enable-mods-shared=all" \ "--enable-proxy-ajp" \ "--enable-cache" \ "--enable-file-cache" \ "--enable-disk-cache" \ "--enable-mem-cache" \ "--enable-proxy" \ "--enable-ssl" \ "--enable-authn-alias" \
# ./configure \ --enable-mbstring \ --enable-zip \ --enable-bcmath \ --enable-pcntl \ --enable-ftp \ --enable-exif \ --enable-calendar \ --enable-sysvmsg \ --enable-sysvsem \ --enable-sysvshm \ --enable-wddx \ --with-curl \ --with-mcrypt \ --with-iconv \ --with-gmp \ --with-pspell \ --with-gd \ --with-jpeg-dir=/usr \ --with-png-dir=/usr \ --with-zlib-dir=/usr \ --with-xpm-dir=/usr \ --with-freetype-dir=/usr \ --enable-gd-native-ttf \ --enable-gd-jis-conv \ --with-openssl \ --with-gettext=/usr \ --with-zlib=/usr \ --with-bz2=/usr \ --with-recode=/usr \ --with-mysqli=mysqlnd \ --enable-mysqlnd \ --with-pdo-mysql=mysqlnd \ --with-readline \ --with-apxs2=/usr/sbin/apxs
多いものや少ないものなどあり、混乱しております。
ご回答お願い致します。