Nginx under Fastcgi_param run PHP blank page problem

Source: Internet
Author: User
Tags blank page
  1. Fastcgi_param Script_filename/home/www/scripts/php$fastcgi_script_name;
  2. Fastcgi_param query_string $query _string;
Copy Code

Parameter Script_filename is used by PHP for determining the name of SCRIPT to execute, and Query_string contains the Para meters of the request.

Therefore, PHP is not able to explain the execution of this system variable when it is not defined script_filename.

The definition of this variable can be written in the Nginx configuration file nginx.conf, can also be written in an external file, and then include in the way in the nginx.conf included. You may be interested in the article: The NGINX+PHP-FPM page shows a blank workaround for the NGINX+PHP-FPM configuration file in the organization structure Nginx running PHP program, return 200, but blank page

  • Related Article

    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.