首頁論壇分類作業系統Linux【Linux】安裝 GMP 函式庫
【Linux】安裝 GMP 函式庫
   編 輯        刪 除      # 5d43fdd0f01a5 發表: Odyssey     新增:2019-08-02 17:09:36     更新:2019-08-02 17:09:36

The GNU MP Bignum Library
https://gmplib.org/

GNU MP 6.1.2: Top
https://gmplib.org/manual/

下載 GMP
https://gmplib.org/download/gmp/gmp-6.1.2.tar.bz2

安裝 GMP
tar jxf gmp-6.1.2.tar.bz2
cd gmp-6.1.2
./configure --prefix=/usr/local/gmp
make
make install
make clean

安裝 php-7.3.8
tar jxf php-7.3.8.tar.bz2
cd php-7.3.8
# 自訂版(請自行依當時情況更動)
./configure --prefix=/usr/local/php7 --with-config-file-path=/etc --with-config-file-scan-dir=/etc/php.d --enable-maintainer-zts --with-tsrm-pthreads --enable-bcmath --without-bz2 --enable-calendar --enable-cgi --enable-cli --enable-ctype --with-curl=/usr/local/curl --enable-dom --without-enchant --enable-exif --enable-fileinfo --enable-filter --enable-ftp --enable-fpm --with-fpm-user=nobody --with-fpm-group=nobody --without-gd --with-gettext --with-gmp=/usr/local/gmp --enable-hash --with-iconv --without-imap --disable-intl --enable-json --enable-libxml --enable-mbstring --with-mhash --enable-mysqlnd --with-mysqli=mysqlnd --with-mysql-sock --enable-opcache --with-openssl --enable-pcntl --without-pear --with-pdo-mysql=mysqlnd --with-pdo-pgsql --with-pgsql=/usr/local/pgsql --enable-phar --enable-posix --enable-session --enable-shmop --enable-simplexml --enable-soap --enable-sockets --enable-sysvmsg --enable-sysvsem --enable-sysvshm --enable-tokenizer --enable-wddx --enable-xml --enable-xmlreader --with-xmlrpc --with-xsl --with-libzip --with-zlib
make
make test
make install
make clean


夢幻奧德修斯 - OdysseusDream
Website:https://www.odysseusdream.com/
Discord:https://discord.gg/ht4mwMG
FB社團:https://www.facebook.com/groups/OdysseusDream/

我要回覆
【Linux】安裝 GMP 函式庫
首頁論壇分類作業系統Linux【Linux】安裝 GMP 函式庫