编写工具能够从网上下载Sublime Textphp
一:下载wampserverhtml
二:启动服务:mysql
1.肯定 Apache中的Service与MysQL是否启动了;默认端口为80sql
2.改Apache端口:在Apache中选中httpd.conf,修改Listen与ServerName附近的80前面在加一个80数据库
小提示:建议覆盖:apache
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all Satisfy all </Directory>
修改为浏览器
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
# Deny from all Allow from all #容许全部访问 Satisfy all </Directory>
还有服务器
<Directory "D:/Wamp5/www"> # # Possible values for the Options directive are "None", "All", # or any combination of: # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews # # Note that "MultiViews" must be named *explicitly* --- "Options All" # doesn't give it to you. # # The Options directive is both complicated and important. Please see # http://httpd.apache.org/docs/2.2/mod/core.html#options # for more information. # Options Indexes FollowSymLinks # # AllowOverride controls what directives may be placed in .htaccess files. # It can be "All", "None", or any combination of the keywords: # Options FileInfo AuthConfig Limit # AllowOverride all # # Controls who can get stuff from this server. # # onlineoffline tag - don't remove Order Deny,Allow Deny from all Allow from 127.0.0.1 </Directory>
修改为ide
<Directory "D:/Wamp5/www"> # # Possible values for the Options directive are "None", "All", # or any combination of: # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews # # Note that "MultiViews" must be named *explicitly* --- "Options All" # doesn't give it to you. # # The Options directive is both complicated and important. Please see # http://httpd.apache.org/docs/2.2/mod/core.html#options # for more information. # Options Indexes FollowSymLinks # # AllowOverride controls what directives may be placed in .htaccess files. # It can be "All", "None", or any combination of the keywords: # Options FileInfo AuthConfig Limit # AllowOverride all # # Controls who can get stuff from this server. # # onlineoffline tag - don't remove Order Deny,Allow # Deny from all # Allow from 127.0.0.1 Allow from all </Directory>
而后保存,重启服务,在访问就解决了这个问题。工具
3.点击Restart All Services从新启动一下服务器图标变为绿色为登陆服务器成功
三:判断服务是否可用:
1.找到根目录下的安装环境进入www文件夹,进入index.php,运行在浏览器中查看localhost后面加:8080若是出现如下界面说明登陆成功
2.若是不可用点击设置来设置站点与服务器
四:装界面:
1.登陆到sql命令行
点击MySQL里面的MySQL console
2.进入MySQL console里面按回车
3.用SQL来修改密码:在一行上写use mysql而后回车,出现database changed说明登陆成功了
4.在写入UPDATE mysql.user SET password=PASSWORD(123) WHERE user='root';而后回车出现ok后关闭
5.从新打开MySQL console输入括号里面的密码123就能够了
6.打开SQL数据库创建链接从新启动Restart All Services完成。