且构网

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

如何在 PhpStorm 中设置内置网络服务器

更新时间:2023-02-22 22:17:15

首先(检查你的解释器)

First (check your interpreter)

1- 从文件中选择设置

1- From File choose Setting

2- 在设置中导航到 PHP

2- In setting navigate to PHP

3- 在口译员中(如果您没有口译员,您会看到这样的消息)

3- In Interpreter (if you don't have interpreter you will see message like that )

第二个(添加新的解释器)

Second (Add new interpreter)

1-从添加符号(绿色加号)添加新解释器->如果您在本地电脑上工作,请选择(其他)本地

1-Add new interpreter From Add sign (green plus +) --> choose (other)local if you work in your local pc

2-写任何你想引用的名字(默认PHP)

2-write any name you want refer to (default PHP)

3- 从 PHP 主页导航到您的 PHP 目录文件*

3- navigate to your PHP directory file From PHP home*

希望对你有帮助

*如果你使用 wamp,你会在 c:wampinphp(你的 php 版本)中找到它

*If you use wamp you will find it in c:wampinphp(your php version)

如果你使用 xamp,你会发现它是 C:xamppphp

If you use xamp you will find it C:xamppphp