M
M
Maxim Stikharev2018-02-01 11:36:07
PHP
Maxim Stikharev, 2018-02-01 11:36:07

No input file specified Why?

phpmyadmin does not work
Writes No input file specified.
config:

server {
  listen 80;
  server_name hotpan.ru;
  access_log /var/log/access.log;
  error_log /var/log/error.log;
  rewrite_log on;
  root /var/www/hotpan.ru/public;
  index index.php;
  location / {

    try_files $uri $uri/ /index.php?$query_string;

  }
  if (!-d $request_filename) {
    rewrite ^/(.+)/$ /$1 permanent;
  }
  location ~* \.php$ {
    fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;
    fastcgi_index index.php;
    fastcgi_split_path_info ^(.+\.php)(.*)$;
    include /etc/nginx/fastcgi_params;
    fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
  }
  location ~ /\.ht {
    deny all;
  }
  location ~* \.(?:ico|css|js|jpe?g|JPG|png|svg|woff)$ {
    expires 365d;
  }
}


If you need something else to solve the problem, please let me know, I'll throw it off.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question