Solution to "installation of service [Apache_pn] failed" When phpnow is installed in 64-bit Windows 7

Source: Internet
Author: User
Document directory
  • Solution:

 

What is phpnow?

Free green Apache + PHP + MySQL environment package in win64.
Simple installation and quick setup of PHP environments supporting virtual hosts. With the PNCP. CMD control panel, you can quickly configure your suite for ease of use.

The following information appears at the last step of installation (but it is okay in XP)

Installing Apache...

The installation of the Service [Apache_pn] fails. The possible reasons are as follows:
1. The service name already exists. Uninstall or use different service names.
2. the Windows NT Service cannot be operated because it is not administrator privilege.

-Press any key to continue...

 

It seems to be a permission issue.

Solution: 1.run cmd.exe with the administrator ID. you can find cmd.exe under "C:/Windows/system32.pdf", right-click and select "Run as administrator", or right-click CMD in the Start Menu running search box. The cmd icon appears in the program bar above the menu, right-click and choose "Run as administrator ". 2. Find the phpnow directory and run init. cmd. For example: (you can right-click and paste the directory in cmd)

C:/Windows/system32> Cd D:/program files (x86)/phpnow

C:/Windows/system32> D:

D:/program files (x86)/phpnow> init
______________________________________________________________
|
| ##### Phpnow.org-free green PHP environment suite #####
| ______________________________________________________________

Configure the backup to Pn/cmd_bak.zip-> {backup before initialization} _ 201003311031
______________________________________________________________
|
| Start file processing...

1 file has been copied.
1 file has been copied.
1 file has been copied.
1 file has been copied.
1 file has been copied.
1 file has been copied.
1 file has been copied.

| File processing is complete;
| __________________________________________________________________________ |

______________________________________________________________
|
| Installing Apache...

| Starting Apache...

| Apache startup is complete;
| __________________________________________________________________________ |

______________________________________________________________
|
| Starting MySQL 5.0...

Service successfully installed.
The mysql5_pn service is being started.
The mysql5_pn service has been started successfully.

| MySQL 5.0 is started;
| __________________________________________________________________________ |

______________________________________________________________
|
| It is important to set a password for the root user of MySQL! Please remember!
| __________________________________________________________________________ |

..................

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.