cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2.3 - Setup error - FastCGI sent in stderr - Access to the script has been denied

SOLVED
Highlighted

Magento 2.3 - Setup error - FastCGI sent in stderr - Access to the script has been denied

How to solve the following error during Magento 2.3 setup,

 

2020/07/16 23:24:20 [error] 25704#0: *9 FastCGI sent in stderr: "Access to the script '/usr/share/nginx/html/testusa/setup/index.php/navigation/header-bar' has been denied (see security.limit_extensions)" while reading response header from upstream, client: 2.3.3.2, server: , request: "GET /setup/index.php/navigation/header-bar HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "2.3.3.2:8082", referrer: "http://802.2.23.2:8082/setup/"

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: Magento 2.3 - Setup error - FastCGI sent in stderr - Access to the script has been denied

@Bhanu Periwal  Yes i tried your solution still facing issue, after added 

fastcgi_split_path_info ^(.+?\.php)(/.*)$; into nginx.conf the issue solved.

View solution in original post

2 REPLIES 2
Highlighted

Re: Magento 2.3 - Setup error - FastCGI sent in stderr - Access to the script has been denied

Hi @Aveeva 

 

Edit /etc/php-fpm.d/www.conf

Uncomment this line, by default .htm and .html are blocked:

security.limit_extensions = .php .php3 .php4 .php5 .html .htm

Run below command:

service php-fpm restart

It may help!

Problem Solved? Please click on 'Kudos' & Accept as Solution!

Highlighted

Re: Magento 2.3 - Setup error - FastCGI sent in stderr - Access to the script has been denied

@Bhanu Periwal  Yes i tried your solution still facing issue, after added 

fastcgi_split_path_info ^(.+?\.php)(/.*)$; into nginx.conf the issue solved.

View solution in original post