PHP 开发环境:Wampserver 安装注意事项

  • Installation of Wampserver

安装

  • BEFORE proceeding with the installation of Wampserver, you must ensure that certain elements are installed on your system, otherwise Wampserver will absolutely not run, and in addition, the installation will be faulty and you need to remove Wampserver BEFORE installing the elements that were missing.

执行安装 Wampserver 之前,必须要你的系统已经安装了必须的组件。否则,Wampserver 将不能运行,也无法完整安装,并且在安装缺失的组件前,必须先要将 Wampserver 卸载。

  • Make sure you are "up to date" in the redistributable packages VC9, VC10, VC11, VC13 and VC14

确保,已更新到最新发布的包版本 VC9,VC10, VC11, VC13 和 VC14。详情查看以下的 Visual C++ 版本。

不要直接安装覆盖已存在的版本,具体建议:安装新版本的 Wampserver: http://forum.wampserver.com/read.php?2,123606

  • If you install Wampserver over an existing version, not only it will not work, but you risk losing your existing databases.

通过安装覆盖已存在的版本,不但 Wampserver 无法运行,而且会造成数据库丢失的风险。

  • Install Wampserver in a folder at the root of a disk, for example C:\wamp or D:\wamp. Take an installation path that does not include spaces or diacritics; Therefore, no installation in c: \ Program Files\ or C: \ Program Files (x86\

安装 Wampserver 硬盘的根目录下,如: C:\wamp 或 D:\wamp。安装路径不能包含有空格与分隔符()。所以,不要安装在 c:\Program Files\ 或 C:\ Program Files (x86)

  • We must BEFORE installing, disable or close some applications:

安装之前,必须要停止运行或关闭退出某些软件应用:

关闭 Skype 或强制不使用 80 端口
详情查看 Wampserver 问题解决建议第四条:http://forum.wampserver.com/read.php?2,134915

关闭 IIS
详情查看 Wampserver 问题解决建议第八条:http://forum.wampserver.com/read.php?2,134915

  • If these prerequisites are not in place, Press the Cancel button to cancel the installation, then apply the prerequisites and restart the installation.

如果这些先决条件不具备,点击“取消”按钮来取消安装,然后安装这些必备条件并重新安装 Wampserver。

  • This program requires Administrator privileges to function properly. It will be launched with the "Run as administrator" option. If you do not want a program to have this option, cancel the installation.

该应用需要管理权限,才能正确运行。它将会以“作为管理者”选项来运行。如果你不想让它以该选项运行,取消安装即可。

  • Visual C++ Packages

Visual C++ 包

  • The MSVC runtime libraries VC9, VC10, VC11 are required for Wampserver 2.4, 2.5 and 3.0, even if you use only Apache and PHP versions with VC11. Runtimes VC13, VC14 is required for PHP 7 and Apache 2.4.17 or more

Wampserver 2.4, 2.5 和 3.0 这个三个版本,都需要 MSVC 运行库 VC9,VC10,VC11,即使你只是使用 Apache 和 PHP 版本使用 VC11。

  • VC9 Packages (Visual C++ 2008 SP1)

http://www.microsoft.com/en-us/download/details.aspx?id=5582 (x86)
http://www.microsoft.com/en-us/download/details.aspx?id=2092 (x64)

  • VC10 Packages (Visual C++ 2010 SP1)

http://www.microsoft.com/en-us/download/details.aspx?id=8328 (x86)
http://www.microsoft.com/en-us/download/details.aspx?id=13523 (x64)

VSU4\vcredits_x86.exe 与 VSU4\vcredist_x64.exe 都可以在同一个页面下载:http://www.microsoft.com/en-us/download/details.aspx?id=30679

VSU4\vcredits_x86.exe 与 VSU4\vcredist_x64.exe 都可以在同一个页面下载:http://www.microsoft.com/en-us/download/details.aspx?id=40784

VSU4\vcredits_x86.exe 与 VSU4\vcredist_x64.exe 都可以在同一个页面下载:http://www.microsoft.com/en-us/download/details.aspx?id=53840

  • If you have a 64-bit Windows, you must install both 32 and 64bit versions, even if you do not use Wampserver 64 bit.
  • Warning: Sometimes Microsoft may update the VC ++ package by breaking the download links and without redirect to the new. If the case happens to you, remember that item number 20 below will be updated and the page http://wampserver.aviatechno.net/ section Visual C++ Redistribuable Packages is up to date.

如果你使用 64 位 Windows,32 位和 64 位版本的都必须安装,即使你不使用 64 位 Wampserver。注意:有时 Microsoft 会
中断下载链接来进行更新 VC ++ 包,并不会重定向到新的。

Wampserver 问题解决建议第 20 条:http://forum.wampserver.com/read.php?2,134915

  • 安装完成之后

  • Launch phpMyAdmin

运行 phpMyAdmin

  • When starting phpMyAdmin, you will be asked for a user name and password. After installing Wampserver 3, the default username is "root" (without quotes) and there is no password, which means that you must leave the form Password box empty.

启动 phpMyAdmin,你就被要求使用用户名和密码。Wampserver 3 安装完成之后,默认用户名 root,无密码。

  • There will be a warning: You are connected as 'root' with no password, which corresponds to the default MySQL privileged account. Your MySQL server is running with this default, is open to intrusion, and you really should fix this security hole by setting a password for user 'root'.

这会有一个警告。你正在通过没有密码的 root 链接,该帐号是默认 MySQL 高级权限用户账户。MySQL 服务默认使用该账户进行运行,对侵入是开放的,你真的需要通过为用户 root 设置密码,来修复该安全漏洞。

  • This is not a problem as long as access to Phpmyadmin remain locally. However, some web applications or CMS asking that the MySQL user has a password. In which case, you will create a user with password via the PhpMyAdmin Accounts Users tab.

只要是通过本地访问 Phpmyadmin,这就不是一个问题。有些 web 应用或 CMS 要求 MySQL 用户 root 要有密码。你可通过 PhpMyAdmin Accounts Users 选项创建有密码的用户。

  • Using the menus and submenus of Wampmanager. Do not use the keyboard to navigate through the menus and submenus of Wampmanager icon.

使用 Wampmanager 菜单与子菜单。不用使用键盘,通过 Wampmanager 菜单和子菜单图标导航。

  • For questions regarding Wampserver 3

关于 Wampserver 3 的问题

请使用指定的的论坛:http://forum.wampserver.com/list.php?2

  • Do not use an existing discussion, but create your own thread: New Topic after having read READ BEFORE YOU ASK A QUESTION in this forum.

不用使用一个已存在的讨论,创建一个自己的事务:在已经阅读“提问前必读”后,新建话题发布到论坛。

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
  • 序言:七十年代末,一起剥皮案震惊了整个滨河市,随后出现的几起案子,更是在滨河造成了极大的恐慌,老刑警刘岩,带你破解...
    沈念sama阅读 159,716评论 4 364
  • 序言:滨河连续发生了三起死亡事件,死亡现场离奇诡异,居然都是意外死亡,警方通过查阅死者的电脑和手机,发现死者居然都...
    沈念sama阅读 67,558评论 1 294
  • 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
    开封第一讲书人阅读 109,431评论 0 244
  • 文/不坏的土叔 我叫张陵,是天一观的道长。 经常有香客问我,道长,这世上最难降的妖魔是什么? 我笑而不...
    开封第一讲书人阅读 44,127评论 0 209
  • 正文 为了忘掉前任,我火速办了婚礼,结果婚礼上,老公的妹妹穿的比我还像新娘。我一直安慰自己,他们只是感情好,可当我...
    茶点故事阅读 52,511评论 3 287
  • 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
    开封第一讲书人阅读 40,692评论 1 222
  • 那天,我揣着相机与录音,去河边找鬼。 笑死,一个胖子当着我的面吹牛,可吹牛的内容都是我干的。 我是一名探鬼主播,决...
    沈念sama阅读 31,915评论 2 313
  • 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
    开封第一讲书人阅读 30,664评论 0 202
  • 序言:老挝万荣一对情侣失踪,失踪者是张志新(化名)和其女友刘颖,没想到半个月后,有当地人在树林里发现了一具尸体,经...
    沈念sama阅读 34,412评论 1 246
  • 正文 独居荒郊野岭守林人离奇死亡,尸身上长有42处带血的脓包…… 初始之章·张勋 以下内容为张勋视角 年9月15日...
    茶点故事阅读 30,616评论 2 245
  • 正文 我和宋清朗相恋三年,在试婚纱的时候发现自己被绿了。 大学时的朋友给我发了我未婚夫和他白月光在一起吃饭的照片。...
    茶点故事阅读 32,105评论 1 260
  • 序言:一个原本活蹦乱跳的男人离奇死亡,死状恐怖,灵堂内的尸体忽然破棺而出,到底是诈尸还是另有隐情,我是刑警宁泽,带...
    沈念sama阅读 28,424评论 2 254
  • 正文 年R本政府宣布,位于F岛的核电站,受9级特大地震影响,放射性物质发生泄漏。R本人自食恶果不足惜,却给世界环境...
    茶点故事阅读 33,098评论 3 238
  • 文/蒙蒙 一、第九天 我趴在偏房一处隐蔽的房顶上张望。 院中可真热闹,春花似锦、人声如沸。这庄子的主人今日做“春日...
    开封第一讲书人阅读 26,096评论 0 8
  • 文/苍兰香墨 我抬头看了看天上的太阳。三九已至,却和暖如春,着一层夹袄步出监牢的瞬间,已是汗流浃背。 一阵脚步声响...
    开封第一讲书人阅读 26,869评论 0 197
  • 我被黑心中介骗来泰国打工, 没想到刚下飞机就差点儿被人妖公主榨干…… 1. 我叫王不留,地道东北人。 一个月前我还...
    沈念sama阅读 35,748评论 2 276
  • 正文 我出身青楼,却偏偏与公主长得像,于是被迫代替她去往敌国和亲。 传闻我的和亲对象是个残疾皇子,可洞房花烛夜当晚...
    茶点故事阅读 35,641评论 2 271

推荐阅读更多精彩内容