nginx + php7-fpm + mysql with v8.1
Permalink
Will someone PLEASE post a working nginx.conf file.
I need something that works for the install.
Wouldn't you run one nginx.conf file for installation, then another with different rewrite rules once it's installed?
I do not care about pretty URLs right now, I'm having a hard enough time getting it installed.
OR, please point to the docs which contains this *for this version*? concrete5 v8.1.
Thanks.
EDIT:
Here is my *.php rewrite rule from my nginx.conf file:
location ~ \.php$ {
try_files $uri =404;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass unix:/var/run/php-fpm.sock;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $request_filename;
include fastcgi_params;
}
During install, I get the following:
http://www.<FQDN hidden>.com/index.php/install
404 Not Found
My logs show nothing.
I know it's one of the rewrite rules. I've RTFM'd and tried many things, nothing works.
Anyone?
EDIT 2:
I tested phpinfo.php file with the following:
<?php phpinfo(); ?>
and this works.
So I know it's how concrete5 does it's install with the rewrite rules I have somehow conflicting...
Anyone?
I need something that works for the install.
Wouldn't you run one nginx.conf file for installation, then another with different rewrite rules once it's installed?
I do not care about pretty URLs right now, I'm having a hard enough time getting it installed.
OR, please point to the docs which contains this *for this version*? concrete5 v8.1.
Thanks.
EDIT:
Here is my *.php rewrite rule from my nginx.conf file:
location ~ \.php$ {
try_files $uri =404;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass unix:/var/run/php-fpm.sock;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $request_filename;
include fastcgi_params;
}
During install, I get the following:
http://www.<FQDN hidden>.com/index.php/install
404 Not Found
My logs show nothing.
I know it's one of the rewrite rules. I've RTFM'd and tried many things, nothing works.
Anyone?
EDIT 2:
I tested phpinfo.php file with the following:
<?php phpinfo(); ?>
and this works.
So I know it's how concrete5 does it's install with the rewrite rules I have somehow conflicting...
Anyone?