Home  >  Article  >  Backend Development  >  Solution to the problem of PHPnow installation service [apache_pn] failure_PHP tutorial

Solution to the problem of PHPnow installation service [apache_pn] failure_PHP tutorial

WBOY
WBOYOriginal
2016-07-21 15:34:391408browse

If you encounter the following problems when installing PHPnow:

The installation of service [apache_pn] failed. The possible reasons are as follows:

1. The service name already exists, please uninstall or use a different service name.
2. Non-administrator rights cannot operate Windows NT services.

Please confirm the version of the operating system first. If you are using Windows Vista or Windows 7, then first troubleshoot permission issues. You can enter "cmd" in "Start - Search", find "cmd.exe" in the search results, right-click and select "Run as administrator". Then use the DOS command to re-run "Init.cmd" in the decompressed directory of "PHPnow":

C:>cd PHPnow

C:PHPnow>init
If you still use the above method If the installation fails, you can try to start the "Command Prompt (CMD)" in the above method again, enter the "PnCmds" directory of PHPnow, and execute the "Absolute Forced Uninstall.cmd":

C:>cd PHPnowPnCmds

C:PHPnowPnCmds>Absolutely force uninstall
Then delete the PHPnow directory, restart the computer, and then execute "Setup.cmd" to reinstall.

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/322396.htmlTechArticleIf you encounter the following problems when installing PHPnow: Installation of service [apache_pn] failed. The possible reasons are as follows: 1. Service name Already exists, please uninstall or use a different service name. 2. Non-administrator rights cannot...
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