After some tweaking the problem came to the surface. It was the "open_basedir" option in php.ini. You should point that parameter to your document root directory like /var/www or /src/http. It should be the same as the "root" option in this section: location ~ \.php$ { root /var/www; include /usr/local/nginx/conf/fastcgi_paby blo - How to...
I added fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; to fscgi_params. And using this PHP configuration: -------------------------------------------- location ~ \.php$ { root /var/www; include /usr/local/nginx/conf/fastcgi_params; fastcgi_pass localhost:9000; # port where FastCGI procby blo - How to...
Yes i just noticed and modified that section like this: location ~ \.php$ { root /var/www; include /usr/local/nginx/conf/fastcgi_params; fastcgi_pass localhost:9000; # port where FastCGI processes were spawned fastcgi_index index.php; fastcgi_param SCRIPT_FILENAMEby blo - How to...
Hi, I'm new to Nginx and I'm trying to setup Nginx, FASTCGI and Drupal. I'm using OpenVZ environment running Archlinux template and compiled Nginx from source using the latest stable release with default options. (Nginx 0.7.62) Next I compiled spawn-cgi from source with the default options using the latest release. (spawn-fcgi v1.6.2 (ipv6) ) I installed PHP from the Arch extra reposiby blo - How to...