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

Solution to the problem of PHPnow installation service [apache_pn] failure

WBOY
WBOYOriginal
2016-07-29 08:43:451441browse

If you encounter the following problems when installing PHPnow:
The installation 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 Service.
Please confirm the operating system version 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 "PHPnow" decompression directory:
C:>cd PHPnow
C:PHPnow>init
If the installation still fails using the above method, you can try to start it again in the above way." Command Prompt (CMD)", enter the "PnCmds" directory of PHPnow, and execute the "Absolute Force Uninstall.cmd":
C:>cd PHPnowPnCmds
C:PHPnowPnCmds>Absolute Forced Uninstall
Then delete the PHPnow directory and restart computer, and then execute "Setup.cmd" to reinstall.

The above introduces the solution to the problem of PHPnow installation service [apache_pn] failure, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.

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