欢迎访问 生活随笔!

生活随笔

当前位置: 首页 > 编程语言 > php >内容正文

php

PHP开发环境MAMP for Windows

发布时间:2025/3/15 php 43 豆豆
生活随笔 收集整理的这篇文章主要介绍了 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:

HostPortUserPassword
localhost
3306
root
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

 

转载于:https://www.cnblogs.com/emanlee/p/4440193.html

总结

以上是生活随笔为你收集整理的PHP开发环境MAMP for Windows的全部内容,希望文章能够帮你解决所遇到的问题。

如果觉得生活随笔网站内容还不错,欢迎将生活随笔推荐给好友。