Скорее всего неверно указана настройка DOCUMENT_ROOT для ngnix
Судя по тексту ошибки:
DOCUMENT_ROOT должен быть не /home/www/192.168.0.1 а /home/www/test1.daiver.org
соответственно настройка должна выглядеть
Цитата |
---|
location / { root /home/www/192.168.0.1; index index.php index.htm index.html; } location ~* ^.+.(php|php3|php5|phtml)$ { fastcgi_pass 127.0.0.1:8080; root /home/www/192.168.0.1; include /usr/local/etc/nginx/common_fastcgi.conf; } |
Судя по тексту ошибки:
Цитата |
---|
Warning: main(/bitrix/modules/main/install/install.php) [function.main]: failed to open stream: No such file or directory in /home/www/test1.daiver.org/index.php on line 381 Warning: main(/bitrix/modules/main/install/install.php) [function.main]: failed to open stream: No such file or directory in /home/www/test1.daiver.org/index.php on line 381 Fatal error: main() [function.require]: Failed opening required '/bitrix/modules/main/install/install.php' (include_path='.:') in /home/www/test1.daiver.org/index.php on line 381 |
DOCUMENT_ROOT должен быть не /home/www/192.168.0.1 а /home/www/test1.daiver.org
соответственно настройка должна выглядеть
Код |
---|
location / { root /home/www/test1.daiver.org; index index.php index.htm index.html; } location ~* ^.+.(php|php3|php5|phtml)$ { fastcgi_pass 127.0.0.1:8080; root /home/www/test1.daiver.org; include /usr/local/etc/nginx/common_fastcgi.conf; } |