Portable USB Web Server: Alternative to Hosts file

时间:2015-07-08 15:51:52

标签: webserver portability httpserver portable-applications

I am looking for portable web servers (for PHP programming) to carry on my usb flash drive. But most importantly a portability that does not require access to the Hosts file. Writing on the hosts file requires administrative privileges, so if a "portable" web server tool still needs this file, then it's not really very portable.

Portability, for me, means that most times I'd be using computers that are not mine and on which I wouldn't have admin rights. The webservers I'd tried so far (eg: EasyPHP) are portable as far as being able to run from a usb flash disk, but still needs the hosts file.

So my question is: How can I setup an alternative Hosts file? like having one on my usb flash drive that my portable webserver can use? Or a portable webserver that is already implemented in a similar way.

1 个答案:

答案 0 :(得分:0)

uniform server,便携且非常稳定。我在一些机器上用它生产多年。

  

统一服务器ZeroXI版本是预装了ZeroXI的版本   生成标准WAMP的模块(Windows,Apache,MySQL和PHP)   服务器包。解压缩后,服务器就可以运行了   USB记忆棒或PC。除了更改MySQL密码   (可选)无需配置。