常用的PHP編譯引數

2021-04-23 12:02:12 字數 734 閱讀 6125

./configure --prefix=/usr /

--with-apxs2=/usr/sbin/apxs /

--enable-fastcgi /

--with-layout=gnu /

--with-config-file-path=/etc /

--with-config-file-scan-dir=/etc/php.d /

--disable-ipv6 /

--with-zlib=shared /

--with-curl=shared /

--enable-ftp=shared /

--with-gd=shared /

--enable-gd-native-ttf /

--enable-mbstring=shared /

--with-mysqli=shared /

--with-mysql=shared /

--with-pdo-mysql=shared /

--with-pdo-pgsql=shared /

--without-sqlite /

--without-pdo-sqlite /

--with-xsl=shared /

--with-pear=/usr/shared/pear /

--enable-maintainer-zts /

--enable-zend-multibyte

編譯php的配置引數

怕忘記,記錄再此.這個兩個伺服器上的設定,都只是參考.php 4.3.11 configure prefix home raid system php with mysql home raid system mysql with apxs home raid system apache bin ap...

編譯php的配置引數

怕忘記,記錄再此.這個兩個伺服器上的設定,都只是參考.php 4.3.11 configure prefix home raid system php with mysql home raid system mysql with apxs home raid system apache bin ap...

PHP編譯引數詳解

root lnmp01 tools tar xf php 5.3.27.tar.gz 解壓壓縮包 root lnmp01 tools cd php 5.3.27 進入 php安裝目錄 configure 編譯引數 指定php 的安裝路徑為 需要指定 mysql 的安裝路徑,安裝 php需要的 mys...