PHP开发环境MAMP for Windows

Windows上的整合PHP开发环境有很多,如:Windows上使用的Wampserver(http://www.wampserver.com/),跨平台的Xampp(https://www.apachefriends.org/index.html),但是和MAMP PRO相比,它们立刻黯然失色。最大的差距体现在易用性上——用过MAMP PRO的朋友往往再也不会回头去用Windows上那些难用的PHP开发环境了。

 

XAMPP is a completely free, easy to install Apache distribution containing MySQL, PHP, and Perl. The XAMPP open source package has been set up to be incredibly easy to install and to use.

 

WampServer is a Windows web development environment. It allows you to create web applications with Apache2, PHP and a MySQL database. Alongside, PhpMyAdmin allows you to manage easily your databases.

 

MAMP (https://www.mamp.info/en/) 安装之后默认的配置如下:

PHP

phpinfo shows the current configuration of PHP.

MySQL

MySQL can be administered with phpMyAdmin.(http://www.phpmyadmin.net/home_page/index.php)

To connect to the MySQL server from your own scripts use the following connection parameters:

Host localhost
Port 3306
User root
Password root

Example:

$link = mysql_connect('localhost', 'root', 'root');

 

Ref:

http://stackoverflow.com/questions/5580342/windows-xampp-vs-wampserver-vs-easyphp-vs-alternative

https://www.mamp.info/en/mamp_windows.html

http://www.twd.cc/21146

http://www.imleon.cn/best-mamp-php-development-environment-for-windows.html

 

你可能感兴趣的:(windows)