Harro LET!
So I'm using the standard Minstall, got Deluge running and also PHPMYADMIN running, for some reason, none of the domains I have on this node want to run PHP. Here's the config for "samplecode.me"
server { listen 80; server_name samplecode.me; rewrite ^/(.*) http://www.samplecode.me/$1 permanent; } server { listen 80; server_name www.samplecode.me; access_log off; error_log /home/chris/http/logs/samplecode.me.log; index index.html index.php; root /home/chris/http/hosts/samplecode.me; include /etc/nginx/conf.d/cache.conf; include /etc/nginx/conf.d/deny.conf; include /etc/nginx/php.d/chris.conf; }
Here's "chris.conf" from "php.d"
location ~ \.php$ { fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_pass unix:/home/chris/http/private/php.socket; include fastcgi_params; try_files $uri =404; }
Really confused, since this is the normal setup right? http://www.samplecode.me/
EDIT
Fixed, didnt recognise <? and ?> properly, needed <?php ?>.