简体   繁体   中英

What web server should I install?

I have Windows 7 Enterprise and I want to run a web server on this computer and I wander what is the best web server would be in my case. I have several requirements to the web server.

  1. It should be easy to install and set up the server. Just "click", "accept" and that's it.

  2. It should support MySQL and PHP (with GET, POST, SESSION, and cookies).

  3. I want to be able to install the server from CD or memory stick. In other words, I want to be able to download something on my CD and than use this CD to install the web server.

  4. The server (software) should not occupy a lot of memory.

  5. It should be possible to install the web server on Linux, Windows and MAC.

Install Z-WAMP . It has the latest versions of Apache, MySQL and PHP (with APC and phyMyAdmin). It's also portable so you can have it installed on a mem stick.

XAMPP安装和使用非常简单。

Quoting:

Zend Server Community Edition is a fast and reliable PHP application stack. It is completely free, and you can use it in development, testing and production.

Further:

Eliminate wasted time spent on putting together your PHP stack piece by piece. Zend Server Community Edition includes everything you need, whether you're using Windows, Linux or Mac OS X. The simple, native installers will set you up in minutes with:

  • Bytecode accelerator (Optimizer+)
  • Zend Data Cache
  • A certified PHP distribution
  • Zend Framework
  • Apache (or IIS integration)
  • MySQL (on Windows and Mac OS X)
  • Out-of-the-box connectivity to all common databases
  • Java code connectivity
  • Web-based PHP administrator console

不太确定这是不是你的意思,但看看AppServ它会为你安装一个安装文件的Apache,PHP和MySQL。

If you combine requirement 1, 3 and 5 you make it extremely difficult.

There is not just one package that you can install on boot *nix and windows. Simply because they use a different Operating System with other drive mappings, libraries, etc.

But for Windows I recommend one of the XAMP/WAMP implementation (I'm not a Windows User). For Mac there is MAMP. On other *nix based systems I always used predefined packages or a manualy compiled amount of packages which does not meet your requirements.

Latest OSX has buildin PHP and Apache. You only have to enable Apache in your system pref panel. MySQL can be installed.

It's also possible to use XAMPP for osx. Can be installed from CD

As for Windows you can use WAMP or XAMPP . This package includes Apache, PHP and MySQL. Can be installed from CD.

Most Linux distro's have apache build in. And it's easy to configure PHP and MySQL for it. You can also use XAMPP for linux:

LAMP for linux
XAMPP for mac
and WAMP for win
Different gui almost the same thing easy to setup and configure.

The big advantages with WAMP are that you can easily switch PHP/Apache/MySQL version and toggle PHP settings + extensions, directly from the taskbar.

That's why I'm using it.

Note: Even though you can't download the latest PHP version from their site, it's very easy to install it yourself .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM