WAMP安装php7.4.13

PHP下载地址:https://windows.php.net/download#php-7.4
版本选择:
线程安全和非线程安全
在这里插入图片描述
线程安全可以通过 phpinfo()
Thread Safety enabled 是线程安全
在这里插入图片描述
下载ZIP包
西在
下载后解压到 【[URL地址]\wamp64\bin\php\php7.4.13】文件夹
复制其他php版本中的【php.ini】【phpForApache.ini】【wampserver.conf】文件到【php7.4.13】文件夹中,本文中使用的【php7.3.5】
修改【php.ini】中,替换【php7.3.5到php7.4.13】
在这里插入图片描述
修改【phpForApache.ini】文件中,替换【php7.3.5到php7.4.13】
在这里插入图片描述
修改【wampmanager.ini】文件中,
Type: item; Caption: “7.4.13”; Action: multi; Actions:switchPhp7.4.13;
在这里插入图片描述
[switchPhp7.4.13]
Action: service; Service: wampapache64; ServiceAction: stop; Flags: ignoreerrors waituntilterminated
Action: run; FileName: “D:/wamp64/bin/php/php5.6.40/php-win.exe”;Parameters: “switchPhpVersion.php 7.4.13”;WorkingDir: “D:/wamp64/scripts”; Flags: waituntilterminated
Action: run; FileName: “D:/wamp64/bin/php/php5.6.40/php.exe”;Parameters: “switchMysqlPort.php 3306”;WorkingDir: “D:/wamp64/scripts”; Flags: waituntilterminated
Action: run; FileName: “D:/wamp64/bin/php/php5.6.40/php-win.exe”;Parameters: “refresh.php”;WorkingDir: “D:/wamp64/scripts”; Flags: waituntilterminated
Action: run; FileName: “net”; Parameters: “start wampapache64”; ShowCmd: hidden; Flags: waituntilterminated
Action: resetservices
Action: readconfig
在这里插入图片描述
删除【[wamp安装路径]\wamp64\bin\apache\apache2.4.39\bin】中【php.ini】文件

退出【wamp】软件
退出【wamp】软件
退出【wamp】软件
退出【wamp】软件
退出【wamp】软件
退出【wamp】软件
退出【wamp】软件
退出【wamp】软件
退出【wamp】软件
退出【wamp】软件
退出【wamp】软件

重新打开

选择php版本
在这里插入图片描述
在这里插入图片描述

来都来了,点个赞再走吧
微信搜索【猿的一日】IT男老司机等你上车
或扫码加入公众号
在这里插入图片描述

  • 1
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

打赏作者

Hello-Rock

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

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

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

打赏作者

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

抵扣说明:

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

余额充值