[ЗАКРЫТО] разобраться с NginX

lavlan
в каком то топике были ссылки на твои (Ваши) файлы на github
пользуйтесь
Арчи ~]$ ...as always want ready-made solutions that would make even tastier
решил попользовать OpenCart, но он не поддается сволочь, не прикручивается к никсу
заведомо для папок и файлов поставил полные права 777
конфиги
/etc/nginx/sites-available/site.conf
server {
        listen 80;
        server_name opencart.ru www.opencart.ru;
        error_log  /var/log/nginx/opencart/error.log;

        charset utf-8;
        autoindex off;

        root /home/archie/www/opencart.ru;
        include /etc/nginx/conf.d/*.conf;
}
/etc/nginx/conf.d/php.conf
location ~ \.php$ {
    fastcgi_intercept_errors on;
    fastcgi_pass unix:/var/run/php-fpm/php-fpm.sock;
    fastcgi_index index.php;
    fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
    include /etc/nginx/fastcgi_params;
}
location / {
    if (!-e $request_filename) {
    rewrite ^(.+)$ /index.php?q=$1 last;
    }
}
/etc/nginx/nginx.conf
#user http;
worker_processes  1;

timer_resolution 100ms;
worker_rlimit_nofile 8192;
worker_priority -5;

error_log  /var/log/nginx/error.log;
#pid        /var/run/nginx.pid;

events {
    worker_connections  1024;
}

http {
    include       /etc/nginx/mime.types;
    access_log  /var/log/nginx/access.log;

    sendfile        on;
    keepalive_timeout  65;
    tcp_nodelay        on;

    gzip  on;
    gzip_min_length     1100;
    #gzip_disable       "msie6";  #Быстрее, но работает только на новых версиях nginx
    gzip_disable "MSIE [1-6]\.(?!.*SV1)";
    gzip_proxied        any;
    gzip_comp_level     4;
    gzip_types          text/plain text/css text/javascript application/x-javascript text/xml application/xml application/xml+rss
    gzip_vary           on;

    index index.htm index.html index.php;
    include /etc/nginx/sites-enabled/*;
}
для Image CMS такие конфиги работают, OpenCart выдает No input file specified.
/var/log/nginx/opencart/error.log
2014/04/04 13:24:55 [error] 8443#0: *1 FastCGI sent in stderr: "Unable to open primary script: /home/archie/www/opencart.ru/index.php (No such file or directory)" while reading response header from upstream, client: 127.0.0.1, server: opencart.ru, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm/php-fpm.sock:", host: "opencart.ru"
2014/04/04 13:31:00 [error] 8542#0: *5 FastCGI sent in stderr: "Unable to open primary script: /home/archie/www/opencart.ru/index.php (No such file or directory)" while reading response header from upstream, client: 127.0.0.1, server: opencart.ru, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm/php-fpm.sock:", host: "opencart.ru"
/var/log/nginx/ocmaster/error.log
2014/04/04 13:29:29 [error] 8443#0: *3 FastCGI sent in stderr: "Unable to open primary script: /home/archie/www/ocmaster.ru/index.php (No such file or directory)" while reading response header from upstream, client: 127.0.0.1, server: ocmaster.ru, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm/php-fpm.sock:", host: "ocmaster.ru"
2014/04/04 13:29:57 [error] 8542#0: *1 FastCGI sent in stderr: "Unable to open primary script: /home/archie/www/ocmaster.ru/index.php (No such file or directory)" while reading response header from upstream, client: 127.0.0.1, server: ocmaster.ru, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm/php-fpm.sock:", host: "ocmaster.ru"
google не проливает свет на проблему, рекомендуемые конфиги никса для OpenCart дают 404 Not Found.
Арчи ~]$ ...as always want ready-made solutions that would make even tastier
народ помогите, голова уже кругом, не могу прикрутить OpenCart к nginx+php-fpm, не знаю уже все перепробовал, мысль может понизить версию php
ставил эти конфиги получается циклическая ссылка, не знаю куда уже копать?
Арчи ~]$ ...as always want ready-made solutions that would make even tastier
поставил PrestaShop все работает с пол пинка, что они там с OpenCart наворотили?
Арчи ~]$ ...as always want ready-made solutions that would make even tastier
о, щас пытался поставить Magento, на последнем шаге инсталла выскакивает ошибка, да Magento тяжеловат, это чувствуется, кто-то сталкивался с такой связкой Magento+nginx+php-fpm?
Арчи ~]$ ...as always want ready-made solutions that would make even tastier
получается диалог с самим собой, ну да ладно, установка на локалке так и не срослась, а на VDS все работает отлично, ура, всем спасибо, наверное после 10 листов имеет смысл тему закрыть, что я и делаю.
Арчи ~]$ ...as always want ready-made solutions that would make even tastier
 
Зарегистрироваться или войдите чтобы оставить сообщение.