Home  >  Article  >  php教程  >  PHPnow安装服务[apache_pn]失败的问题的解决方法_php基础

PHPnow安装服务[apache_pn]失败的问题的解决方法_php基础

WBOY
WBOYOriginal
2016-05-17 09:01:421611browse

安装PHPnow时如果遇到下列问题:

安装服务[apache_pn]失败.可能原因如下:

1. 服务名已存在,请卸载或使用不同的服务名.
2. 非管理员权限,不能操作 Windows NT 服务.

请首先确认操作系统的版本。如果您正在使用Windows Vista或Windows 7,那么首先要排除权限问题。您可以在”开始——搜索“中输入”cmd“,在搜索结果中找到“cmd.exe“,点右键,选择“以管理员身份运行”。然后使用DOS命令重新运行“PHPnow”解压目录中的“Init.cmd”:

C:\>cd PHPnow

C:\PHPnow>init
如果使用上述方法仍然安装失败,则可以尝试再次以上述方式启动“命令提示符(CMD)”,进入PHPnow的“PnCmds”目录,执行其中的“绝对强制卸载.cmd”:

C:\>cd PHPnow\PnCmds

C:\PHPnow\PnCmds>绝对强制卸载
然后删除PHPnow目录,重新启动计算机,再执行“Setup.cmd”重新安装。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn