当前位置:   article > 正文

linux ubuntu环境下php8.0.9安装_ubuntu 离线安装php-8.3.9.tar.gz

ubuntu 离线安装php-8.3.9.tar.gz

环境准备 linux ubuntu

1.准备的库

apt-get install -y autoconf libxml2-dev libsqlite3-dev
libcurl4-openssl-dev libssl-dev libonig-dev libtidy-dev zlib1g-dev

2.下载php包

wget https://www.php.net/distributions/php-8.0.9.tar.gz

3.解压安装

tar -xvzf php-8.0.9.tar.gz
cd php-8.0.9

4.配置

./configure --prefix=/usr/local/php8 --with-config-file-path=usr/local/php8/etc
–enable-fpm --enable-mysqlnd --enable-opcache --enable-pcntl
–enable-mbstring --enable-soap --enable-zip --enable-calendar
–enable-bcmath --enable-exif --enable-ftp --enable-intl --with-mysqli
–with-pdo-mysql --with-openssl --with-curl --with-gd --with-gettext
–with-mhash --with-openssl --with-mcrypt --with-tidy --enable-wddx
–with-xmlrpc –with-zlib

5.编译安装

sudo m

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/人工智能uu/article/detail/989013
推荐阅读
相关标签
  

闽ICP备14008679号