Thank you every body, people! I'm quite stupid... I entirly can't think... There was <? ?> short tags disabled, all the scripts use short tags, but only the one I tested locating in root directory had <?php long tag... because I write it Damn I wasted your and my timeby dimentiy - Nginx Mailing List - English
Hello, Francis, I found out how to enable it error_log path/to/log; Thank you.by dimentiy - Nginx Mailing List - English
Hello, Francis, Yes, I have another 'location' but within the another 'server' Exactly I have four 'servers' with different root. Like 'one.example.com', 'two.example.com', 'three.example.com', 'four.example.com'. Each of them are similar and looks like I posted above as I said the difference is only in root (location / { root xxx; }). You say that verything is fine and should already wby dimentiy - Nginx Mailing List - English
Hello, Joe, behind what /? I've tried different variants. But I really misunderstand how it should be. The goal is to make nginx process .php files whereever they located begining from site's root folder. This settings works fine with scripts in site's root. location ~ \.php$ { root /var/www/nginx-default/example.com; fastcgi_pass 127.0.0.1:9000; fastcgi_index iby dimentiy - Nginx Mailing List - English
Hello, Joe, I've tried to use settings from your post, unfortunately nothing changed. Scripts in site's root are processed, but in subdirectories are not (by dimentiy - Nginx Mailing List - English
Hello, I'm nuewbie in nginx, I've installed and setup nginx & php, everything is fine except .php files located in site's subdirectories are not processed at all. i.e. example.com/download.php works fine, but example.com/stuff/dosomething.php is sent to client as plain text. Please, would any kind soul tell me what should I change to resolve the problem. Thank you. I use those settings.by dimentiy - Nginx Mailing List - English