バージョン選択

フォーラム

メニュー

オンライン状況

36 人のユーザが現在オンラインです。 (30 人のユーザが フォーラム を参照しています。)
登録ユーザ: 0
ゲスト: 36
もっと...

サイト内検索

質問 > その他 > nginx1.10+php7.0+mariaDB10でのインストール時のエラー

その他

新規スレッドを追加する

フラット表示 前のトピック | 次のトピック
投稿者 スレッド
be-s
投稿日時: 2017/4/17 18:41
対応状況: −−−
一人前
登録日: 2016/2/2
居住地: São Paulo
投稿: 115
Re: nginx1.10+php7.0+mariaDB10でのインストール時のエラー
返信遅くなりまして申し訳ございません。
助言ありがとうございます。

ec-cubeのルートディレクトリに移動して実行したら動きました。
インストールは完了っぽいのですが
EC-CUBEのindex.phpを見ると登録画面や商品一覧、お問い合わせなどにリンクできません。404エラーになります。

export ROOT_URLPATH=${ROOT_URLPATH:-"/"}

この部分のリンクかnginxの設定がおかしいのでしょうか?



eccube_install.sh内のConfiguration項目は以下のように設定してます。
# ---------------------------------------------------------------------
# Configuration
# ---------------------------------------------------------------------
export ADMIN_MAIL=${ADMIN_MAIL:-"admin@example.com";}
export SHOP_NAME=${SHOP_NAME:-"EC-CUBE SHOP"}

export ROOT_DIR=${BASE_DIR:-"/usr/share/nginx/html/***/html"}
export ROOT_URLPATH=${ROOT_URLPATH:-"./"}

export ADMIN_ROUTE=${ADMIN_ROUTE:-"kanri"}
export USER_DATA_ROUTE=${USER_DATA_ROUTE:-"user_data"}
export TEMPLATE_CODE=${TEMPLATE_CODE:-"default"}
export FORCE_SSL=${FORCE_SSL:-"0"}



------------------------------------------------------------
以下nginxの設定ファイル(default.conf)です。
server {
listen 80;
server_name localhost;
charset utf-8;
root /usr/share/nginx/html;
index index.php index.html index.htm;


#charset koi8-r;
#access_log /var/log/nginx/log/host.access.log main;

location / {
root /usr/share/nginx/html;
index index.html index.htm;
}

#error_page 404 /404.html;

# redirect server error pages to the static page /50x.html
#
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}



location ~ \.php$ {
root /usr/share/nginx/html;
fastcgi_pass unix:/var/run/php-fpm/php-fpm.sock;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_index index.php;

include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info;
}

error_page 404 /404.html;
location = /40x.html {
}


}



------------------------------------------------------------

以下実行分

update permissions...
creating /usr/share/nginx/html/***/app/config/eccube/config.yml
creating /usr/share/nginx/html/***/app/config/eccube/database.yml
creating /usr/share/nginx/html/***/app/config/eccube/mail.yml
creating /usr/share/nginx/html/***/app/config/eccube/path.yml
get composer...
All settings correct for using Composer
Downloading...

Composer (version 1.4.1) successfully installed to: /usr/share/nginx/html/***/composer.phar
Use it: php composer.phar

install composer...
You are using the deprecated option "dev". Dev packages are installed by default now.
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Nothing to install or update
Generating autoload files
dropdb...
createdb...
create table...
ATTENTION: This operation should not be executed in a production environment.

Creating database schema...
Database schema created successfully!
migration...

Doctrine Database Migrations


execute optional SQL...
cache:clear success
Finished Successful!

フラット表示 前のトピック | 次のトピック


題名 投稿者 日時
   nginx1.10+php7.0+mariaDB10でのインストール時のエラー be-s 2017/4/12 11:04
     Re: nginx1.10+php7.0+mariaDB10でのインストール時のエラー red 2017/4/12 11:25
       Re: nginx1.10+php7.0+mariaDB10でのインストール時のエラー be-s 2017/4/12 17:21
         Re: nginx1.10+php7.0+mariaDB10でのインストール時のエラー nyorai 2017/4/13 18:03
         » Re: nginx1.10+php7.0+mariaDB10でのインストール時のエラー be-s 2017/4/17 18:41

 



ログイン


EC-CUBE公式 Amazon Payプラグイン

統計情報

総メンバー数は89,197名です
総投稿数は110,047件です

投稿数ランキング

1
seasoft
7367
2
468
3217
3
AMUAMU
2712
4
nanasess
2314
5
umebius
2085
6
yuh
1819
7
h_tanaka
1650
8
red
1570
9
mcontact
1299
10
tsuji
958
11
fukap
907
12
shutta
835
13
tao_s
799
14 ramrun 789
15 karin 689
16 sumida 641
17
homan
633
18 DELIGHT 572
19
patapata
502
20
flealog
485


ネットショップの壺

EC-CUBEインテグレートパートナー

Copyright© EC-CUBE CO.,LTD. All Rights Reserved.