且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

是否可以在本地计算机上运行.php文件?

更新时间:2021-12-20 22:42:48

确定只需要设置本地Web服务器.查看XAMPP: http://www.apachefriends.org/en/xampp.html

Sure you just need to setup a local web server. Check out XAMPP: http://www.apachefriends.org/en/xampp.html

这将使您在大约10分钟内启动并运行.

That will get you up and running in about 10 minutes.

现在有一种无需安装服务器即可在本地运行php的方法: https://***.com/a/21872484/672229

There is now a way to run php locally without installing a server: https://***.com/a/21872484/672229