drupal-with-nginx
drupal-with-nginx copied to clipboard
Problem with drupal installation using browser
trafficstars
I've uncommented include of drupal_install.conf.
Then I tried to go at http://example.local:8080/install.php and there was a blank page. php-fpm acces log said
127.0.0.1 - 28/Sep/2014:13:44:47 +0000 "GET /index.php" 200
The problem has been solved by adding next lines in drupal_install.conf
location = /install.php {
...
include apps/drupal/fastcgi_drupal.conf;
fastcgi_param SCRIPT_FILENAME $document_root/install.php;
fastcgi_pass phpcgi;
}
Is there a better solution for this problem?