phpstudy2017 Nginx cannot start
凝望
凝望 2017-10-28 16:19:39
0
4
1635

Before I used phpstudy2016, everything was normal and could be started. Today I downloaded the 2017 version and found that apache could be started, but Nginx could not be started. I tried many times but it didn't work. The system environment uses Win10 Bit64 system and the hardware is i7- 2620M, 8G DDR3, 120G SSD 1T HD, I don’t know why I can’t start Nginx

凝望
凝望

reply all(4)
smile的微笑

Try running as an administrator

游戏人生

To check whether there is a port occupation problem, you can run nginx in the nginx directory in the command number to print out the error. The error message is as follows: The error message is bind() to 0.0.0.0:80 failed (10013: An attempt was made to access a socket in a way forbidden by its access permissions) or check the error.log file under nginx\logs, you will find the above error message. Best wishes!

  • reply This is a good idea, give it a try
    凝望 author 2017-10-30 17:00:09
游戏人生

Another possibility is that port 80 is occupied. Specifically, there are the following occupancy situations: (1) Apache's httpd service has stopped serving. (2) Open the iis service, close the iis service (3) System thread with pid=4 occupies the port, refer to Baidu experience article (4) SQL service occupies, close sqlserver related services. If there is anything you don’t understand, just read a few more articles on Baidu. Best wishes!

  • reply Just resolve the domain name corresponding to the host correctly. I feel that this 2017 version is not as easy to use as the 2016 version.
    凝望 author 2017-10-30 16:58:49
Day

Check whether the VC++2012 and VC++2015 runtime libraries are not installed. Check whether there are Chinese characters or spaces in the path.

  • reply All versions of Vc++ have been installed
    凝望 author 2017-10-30 16:59:21
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!