Workaround for booting Phpstyle Apache 80 port by Win7 system pid=4 process

Source: Internet
Author: User
Tags php language

Learning front-end is, using the ajax,php language, operation MySQL database, the browser can not parse PHP code (the source output); I used the Tomcat server to write jsp,servlet,php with the Apache server, no configuration.

WORKAROUND: 1. Replace PHP with Jsp,servlet to make the database.

2. Download, configure the Apache server (more cumbersome), it is recommended to download the integrated

2.1 Phpstyle; Integrated Apache+php+mysql+phpmyadmin+zendoptimizer, one-time installation, without configuration can be used, is very convenient and easy to use PHP debugging environment • The program not only includes the PHP debugging environment, but also includes development tools, development manuals, etc. · Anyway, learning PHP requires only one package. : http://www.phpstudy.net/

2.2 XAMPP: an integrated Apache suite. Xampp including Apache, MySQL, PHP, PERL, direct decompression, no complicated installation process, highly recommended for beginners to use; Official website http://www.xampps.com/

I'm phpstyle. Take this as an example (depressed)

Open failed, found that 80 port is disabled, first of all to exclude IIS service port is 80, this service is not started (I am manual), and thunder, etc., some software may also occupy 80 port.

SQL Server

and the SQL Server port number is not 80/3306

Finally, run Netstat-ano on the command line and discover that port 80 is actually occupied.    The PID is found to be 4, and the name is System.      The workaround is: 1. In the Run CMD window open the registry, enter Regedit 2. Open as follows: Hkey_local_machine\system\currentcontrolset\services\http (click HTTP) 3. Find a name called: Start, type: REG_DWORD, right-click Modify, change its value data (originally 3) to 0, click OK to save the changes
4. System process does not consume 80 ports when rebooting
Test: Shut down reboot, open Phpstyle Note:Or quite when you start the computer again, the 80 port is used by the system, in which case the workaround is to set the HTTP folder permissions for the start item to system reject!

The Phpstyle Apache 80 port is win7 by the process used by the system pid=4

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.