EasySwoole3.3.4开发环境(php7.4.1+swoole4.4.13)安装总结

本文详细介绍如何从零开始搭建PHP7.4环境,包括源码编译安装、Swoole及EasySwoole框架的安装配置流程,帮助读者快速掌握高性能Web应用开发的基础。

一、php7.4.1源码安装

1.php官网下载源码包在这里插入图片描述
2.上传到服务器- -解压
tar -jxvf php-7.4.1.tar.bz2 
3.configure(编译)

进入到解压目录php-7.4.1

cd php-7.4.1/

执行以下命令,编译配置检测,–prefix指定安装目录,没有指定默认安装到/user/local

./configure --prefix=/home/soft/php/php7.4.1 --with-config-file-path=/home/soft/php/php7.4.1/etc --with-mysqli=mysqlnd --with-pdo-mysql --with-iconv-dir --with-freetype-dir  --with-jpeg-dir --with-png-dir  --with-curl  --with-gd --with-gmp --with-zlib --with-xmlrpc --with-openssl --without-pear --with-snmp --with-gettext --with-mhash --with-libxml-dir=/home --enable-xml --enable-fpm --enable-ftp --enable-bcmath --enable-soap --enable-shmop --enable-sysvsem --enable-sockets--enable-inline-optimization --enable-maintainer-zts --enable-mbregex --enable-mbstring --enable-pcntl --enable-zip --disable-fileinfo --disable-rpath --enable-libxml --enable-opcache --enable-mysqlnd

在这里插入图片描述
执行提示上图,说明可以执行make(构建)

make
<
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

孙行者来也

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值