[inlosc_lg_title]Apache启动问题:[/inlosc_lg_title]
解决Win10 IIS10占用80端口导致Wampserver黄色图标,即Apache启动失败。
[inlosc_sm_title]方案1:[/inlosc_sm_title]
以管理员身份运行cmd;输入net stop http;如果提示是否真的需要停止这些服务,则选择“Y”;完成后输入:sc config http start=disabled
[inlosc_sm_title]方案2:[/inlosc_sm_title]
Ctrl+x,然后选择“计算机管理”,展开“服务和应用程序”,找到“服务”;找到“World Wide Web Publishing Service”,双击打开后,将启动类型改为手动,更改服务状态为“停止”;如果80端口仍然被占用,则还需要停止以下几个服务:“SSDP Discovery”“Print Spooler”“HomeGroup Provider”“Function Discovery Resource Publication”“Function Discovery Provider Host
[inlosc_sm_title]方案3:[/inlosc_sm_title]
以管理员身份运行regedit打开键值:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\HTTP在右边找到Start这一项,将其改为0重启系统,System进程不会占用80端口
[inlosc_lg_title]You don’t have permission to access/on this server问题:[/inlosc_lg_title]
本地搭建wamp,输入http://127.0.0.1访问正常,当输入http://localhost/,apache出现You don’t have permission to access/on this server.的提示,如何解决?找到httpd.conf,用记事本打开httpd.conf,然后将
-
- <Directory />
- Options FollowSymLinks
- AllowOverride None
- Order deny,allow
- Deny from all
- </Directory>
这里改成:
- <Directory />
- Options FollowSymLinks
- AllowOverride None
- Order deny,allow
- Allow from all
- </Directory>
还有一处将下面
- # onlineoffline tag – don’t remove
- Order Deny,Allow
- Deny from all
- Allow from 127.0.0.1
- </Directory>
将Deny from all 改为:Allow from all ,然后重新启动所有服务。
现在打开localhost或127.0.0.1时发现可以访问了,但访问phpmyadmin时候,出现“You don’t have permission to access /phpmyadmin/ on this server.”的提示。
- 解决方法,打开如下文件:
C:\wamp\alias\phpmyadmin.conf //这个就是你的wamp的安装目录下的内容,用记事本打开
修改成这样:
- <Directory “c:/wamp/apps/phpmyadmin3.5.1/”>
- Options Indexes FollowSymLinks MultiViews
- AllowOverride all
- Order Deny,Allow
- Allow from all
- Allow from 127.0.0.1
- </Directory>
修改保存后,重启wamp ,搞定收工!打开此文档复制粘贴即可: http.conf
[inlosc_lg_title]Internal Server Error问题[/inlosc_lg_title]
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, admin@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
[inlosc_sm_title]解决方法:开启Apache的Rewrite模块[/inlosc_sm_title]
[inlosc_lg_title]phpMyAdmin – Error问题[/inlosc_lg_title]
[inlosc_sm_title]访问phpMyAdmin出现下面问题:[/inlosc_sm_title]
The mbstring extension is missing. Please check your PHP configuration.
检查Apache和Mysql都启动正常。检查php.ini是否为空。
复制以下代码替换,注意安装路径和php的版本路径是否一样,不一样请查找替换您当前的版本。