1. 程式人生 > >ubuntu phpstydy 原始碼升級php版本

ubuntu phpstydy 原始碼升級php版本

首先到官方網站下載需要升級版本的原始碼包下載

解壓並進入對應原始碼目錄執行configure配置,注意需要指定phpstydy整合環境的php的安裝目錄和配置檔案目錄

./configure  --prefix=/phpstudy/server/php --with-config-file-path=/phpstydy/server/php/etc --with-gd --with-curl --with-libxml-dir --with-mysqli --with-mcrypt --with-openssl --with-pdo-mysql --with-zlib --without-pdo-sqlite --without-pear --without-sqlite3 --disable-cgi --enable-ipv6 --enable-phar --enable-fpm --enable-mbstring --enable-maintainer-zts
make -j8
sudo make install
sudo phpstudy restart nginx

完成