Apache cannot start, Apache launches _php tutorial

Source: Internet
Author: User

Apache cannot boot, Apache boot


I do the front-end development, not familiar with the background program, also learned a little before. Net. But now it's almost forgotten. Recently in the company, the manager gave me a management tool dedecms, I just started to look at the time completely do not understand this is what things, have not heard before (I see relatively shallow). Manager said is let me take a good look, study, after doing the website of small and medium-sized enterprises to find, save effort.

The first few days were just groping, knowing that the edges were defined by tags, using tags to invoke templates and data. I would like to review the production of the. NET website a few days ago, because the company's website was made with. NET, and I installed the ISS service on my computer, thinking that I would be able to use it later.

Just want to continue to learn the use of weaving dream, enter the address localhost/dede/(I did not change the name of the management directory contains the default name Dede), can not be logged, the system shows that the address cannot be found. I opened Dedeampz Integration Suite Server version management program, see my Apache service does not start, how to click Start can not start. I went to ask Niang, find the answer is let me change the Web global scalar port, 80 port is occupied, degree Niang suggestion is I change another port 8080. I changed it and tried it, and the Apache service finally started. But when I enter the address localhost/dede/into the Administration page, I cannot enter dedecms. I was anxious to find various suggestions on the Internet, and modify the servername, and changed the port is useless. After a while, I think of the internet is not to say that the port is occupied, I would like to occupy 80 port service to terminate the trial. Find the 80 port is occupied on the net, use the Netstat-ano command to find the PID () of the program that occupies the 80 port, and then find the PID corresponding program in the Task Manager to end it. Finally found in the task manager is Inetinfo.exe occupies 80 port, I will readily end him. But Apache still does not start, I go back to the task Manager to view, this program is automatically enabled. I got a go and felt depressed. I thought about it. IIS uses port 80 for HTTP communication by default, I think it may be that after I install the IIS service, IIS is enabled, inetinfo.exe because the IIS service is always enabled so it can't be shut down. I found the service and put the IIS Admin suit off after the Apache service was re-enabled. Again in the URL input localhost/dede/, finally saw the weaving dream login interface.


Apache22 can not start

Apache installation directory must not contain spaces, that is, must not be installed in the Program Files directory, to prevent future if you need to add commands in the Apache configuration can not run.
You have Apache installed in the D:/program files, and the Program Files directory below a subdirectory also contains spaces, the startup of course, Error prompts.
It is recommended that you set up a general directory of PHP environments in the D-disk, such as D:/phpweb, and then set up the Apache installation directory directly under this directory, such as D:\PHPweb\Apache2.2, so that there will be no error prompts to start.
Put Apache in the correct way and then reinstall it and try again.

Can not start Apache service, how to solve?

If Apache configuration file httpd.conf wrong, start it in Windows, will prompt the requested operation has failed, this is more depressed thing, because the wrong to see a half day. In fact, you can start Apache with command-line mode, and with the parameters, Apache will prompt you which sentence is wrong, and then can be targeted to solve, the command is as follows:
Httpd.exe-w-N "Apache2"-K Start

http://www.bkjia.com/PHPjc/831801.html www.bkjia.com true http://www.bkjia.com/PHPjc/831801.html techarticle Apache can not start, Apache START I do the front-end development, the background program is not familiar with, also learned a little. Net. But now it's almost forgotten. Recently in the company, the manager ...

  • 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.