EasyPhp-是否可以将Web服务器替换为DevServer?

发布于 2025-01-28 21:39:36 字数 439 浏览 2 评论 0原文

我想知道,可能只有两个安装的应用程序( easyphp deveserver& easyphp weberver )仅安装了一个-e easyphp devserver 。该应用程序将以某种方式修改以允许从另一台计算机访问:

  • a)
  • wan中b)。

我对这两种解决方案感兴趣;是否有可能(可能是通过非词法方式,因为我在设置上没有找到它) - 有人试图吗? (或者我必须为我的PC和 easyphp weberver 才能从“无处不在”访问?)

原因是,我为什么要这样做,只是为了开发目的(和我在某个地方阅读,DevServer更适合这个,我不会在DevServer和Web服务器上有两个文件夹,并且每次都会复制文件)。

I'm wondering, wheter it's possible instead of two installed apps (EasyPHP Deveserver & EasyPHP Webserver) to have installed only one - EasyPHP Devserver. This app would be somehow modify to allow access from another computers:

  • A) from LAN,
  • B) from WAN.

I'm interested in both of solutions; is it somehow possible (probably by the unoficiall way, because I didn't find it on settings) - did anyone try to? (Or do I have to have EasyPHP Devserver for my PC and EasyPHP Webserver for access from 'everywhere'?)

The reason is, why I want to do it, is just for developing purposes (and I read somewhere, that Devserver is for this more suitable and I don't wont to have two folders on Devserver and Webserver and copy the files everytime).

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

惟欲睡 2025-02-04 21:39:36

我有一个解决方案:

  • 打开文件 httpd.conf 。它应该在文件夹 easyphp-devserver-17 \ eds-binaries \ httpserver \ apache \ conf 上。
  • 添加后面听127.0.0.1:80 与PC的IP(例如听192.168.1.1:80
  • 然后,文档中的任何地方(约5次)将 127.0.0.1 替换为192.168.1.1 。

现在正在工作。

I have a solution:

  • open a file httpd.conf. It should be on folder EasyPHP-Devserver-17\eds-binaries\httpserver\apache\conf.
  • Add behind Listen 127.0.0.1:80 line with your PC's IP, eg. Listen 192.168.1.1:80.
  • Then everywhere within the document (approx 5 times) replace 127.0.0.1 to 192.168.1.1.

Now it's working.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文