Home  >  Q&A  >  body text

phpstudy2017 Nginx cannot start

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

凝望凝望2571 days ago1639

reply all(4)I'll reply

  • smile的微笑

    smile的微笑2017-10-30 09:18:44

    Try running as an administrator

    reply
    0
  • 游戏人生

    游戏人生2017-10-28 19:58:47

    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
    0
  • 凝望

    This is a good idea, give it a try

    凝望 · 2017-10-30 17:00:09
  • 游戏人生

    游戏人生2017-10-28 19:56:27

    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
    0
  • 凝望

    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.

    凝望 · 2017-10-30 16:58:49
  • Day

    Day2017-10-28 17:01:19

    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
    0
  • 凝望

    All versions of Vc++ have been installed

    凝望 · 2017-10-30 16:59:21
  • Cancelreply