2017-11-21 6 views
0

私はgodaddy vps serverを購入しました。その上でnginx、laravel、phpをインストールしたいと思っています。nginx、php、laravelをcentos6.9にインストールするには?

私は問題を取得していますnginxのインストールしようとしていた。

nginx: [alert] could not open error log file: open() "/var/log/nginx/error.log" failed (2: No such file or directory) 

1. List item 

2017/11/21 03:52:00 [emerg] 23590#0: open() "/etc/nginx/nginx.conf" failed (2: No such file or directory) 
nginx: configuration file /etc/nginx/nginx.conf test failed 

答えて

0

SELinuxがオフになっている場合は、チェックする必要があります。
更新:
は、ここでガイドとしてSELinuxを無効にしてください: https://www.tecmint.com/disable-selinux-temporarily-permanently-in-centos-rhel-fedora/
はあなたの時間を節約するには、コマンドの下に試してください。
setenforce 0
その後、再びあなたの仕事をしてみてください。

+0

このオプションはどこですか?説明してください。 –

関連する問題