PHP-FPM and Nginx: 502 Bad Gateway

后端 未结 15 1775
闹比i
闹比i 2021-01-29 18:35

Configuration

  • Ubuntu Server 11.10 64 bit
  • Amazon AWS, Ec2, hosted on the cloud
  • t1.micro instance

Before I write an

15条回答
  •  鱼传尺愫
    2021-01-29 18:51

    Don't forget that php-fpm is a service. After installing it, make sure you start it:

    # service php-fpm start
    # chkconfig php-fpm on
    

提交回复
热议问题