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

完成

猜你喜欢

转载自blog.csdn.net/guoguicheng1314/article/details/80295866