404 Trying to run installer

I’m brand new to mautic (can’t wait to use it) and I can’t get the installer to run. Fast facts:

Code:
1) I'm on Debian 8.x LEMP / PHP 5.6.22 / MySQL 5.5.49 2) Uploaded the unzipped files to a sub folder for my current website 3) I have rewrites working on nginx because I'm using WordPress pretty urls 4) My installer URL is: http://www.oilygurus.com/n/installer

*Note: I just tried on a dedicated box I have (same LEMP stack versions) and instead of a 404 it just redirects to the home page of the website, in case that helps anyone with ideas. Almost sounds like nginx is to blame.

Another update: I just did all of the same steps, but on my LAMP VPS. BOOM. Worked. So it sounds like a nginx issue. I'm still trying to figure it out.

Here's my nginx site config:
Code:
server { listen 80; listen [::]:80;
root /var/www/oilygurus.com/public_html;
access_log /var/www/oilygurus.com/logs/access.log;
    error_log /var/www/oilygurus.com/logs/error.log;	
index index.php index.html;

server_name oilygurus.com www.oilygurus.com;

location / {
    try_files $uri $uri/ /index.php?$args;
}	

# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
#
location ~ .php$ {
	include snippets/fastcgi-php.conf;
#
#	# With php5-cgi alone:
#	fastcgi_pass 127.0.0.1:9000;
#	# With php5-fpm:
	fastcgi_pass unix:/var/run/php5-fpm.sock;
}

# deny access to .htaccess files, if Apache's document root
# concurs with nginx's one
#
#location ~ /.ht {
#	deny all;
#}	

}


After trying same process on LAMP server, I edited nginx config and added the below, and now the installer white screens.
Code:
location ^~ /n { alias /var/www/oilygurus.com/public_html/n; try_files $uri $uri/ @n;
	location ~ .php {
	    fastcgi_pass unix:/var/run/php5-fpm.sock;
	    fastcgi_split_path_info ^(.+.php)(.*)$;
	    include /etc/nginx/fastcgi_params;
	}
    }
    
    location @n {
	rewrite /n/(.*)$ /n/index.php?/$1 last;
    }</div>

I’m brand new to mautic (can’t wait to use it) and I can’t get the installer to run. Fast facts:

1) I'm on Debian 8.x LEMP / PHP 5.6.22 / MySQL 5.5.49
2) Uploaded the unzipped files to a sub folder for my current website
3) I have rewrites working on nginx because I'm using WordPress pretty urls
4) My installer URL is: http://www.oilygurus.com/n/installer

*Note: I just tried on a dedicated box I have (same LEMP stack versions) and instead of a 404 it just redirects to the home page of the website, in case that helps anyone with ideas. Almost sounds like nginx is to blame.

Another update: I just did all of the same steps, but on my LAMP VPS. BOOM. Worked. So it sounds like a nginx issue. I’m still trying to figure it out.

Here’s my nginx site config:

server {
	listen 80;
	listen [::]:80;

	root /var/www/oilygurus.com/public_html;
	access_log /var/www/oilygurus.com/logs/access.log;
        error_log /var/www/oilygurus.com/logs/error.log;	
	index index.php index.html;

	server_name oilygurus.com www.oilygurus.com;
	
	location / {
        try_files $uri $uri/ /index.php?$args;
	}	

	# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
	#
	location ~ .php$ {
		include snippets/fastcgi-php.conf;
	#
	#	# With php5-cgi alone:
	#	fastcgi_pass 127.0.0.1:9000;
	#	# With php5-fpm:
		fastcgi_pass unix:/var/run/php5-fpm.sock;
	}

	# deny access to .htaccess files, if Apache's document root
	# concurs with nginx's one
	#
	#location ~ /.ht {
	#	deny all;
	#}	
}

After trying same process on LAMP server, I edited nginx config and added the below, and now the installer white screens.


	location ^~ /n {
		alias /var/www/oilygurus.com/public_html/n;
		try_files $uri $uri/ @n;
	    
		location ~ .php {
		    fastcgi_pass unix:/var/run/php5-fpm.sock;
		    fastcgi_split_path_info ^(.+.php)(.*)$;
		    include /etc/nginx/fastcgi_params;
		}
	    }
	    
	    location @n {
		rewrite /n/(.*)$ /n/index.php?/$1 last;
	    }

Okay… so after more searching, here’s a break through:

location /n {
                try_files $uri $uri/  /n/index.php?q=$uri&$args;
        }

Now I’m at least getting the installation screen to show. Albeit, the URL looks a little weird:

http://www.oilygurus.com/n/index.php/installer

Not sure why the index.php is in there.

Changed it to this:

location /n {
                try_files $uri $uri/  /n/?q=$uri&$args;
        }

Manually force the url to this:

http://www.oilygurus.com/n/installer

Loads okay – now to the next part!

BOOYAH!!!

It installed. Now for the fun stuff.