[[EC-CUBEめも]] MySQLへの接続にはPHPが --with-mysql オプションを指定してコンパイルされている必要があります。 **ソースのダウンロードと設置 [#z86753eb] 無料の会員登録をしてソースをダウンロード~ https://www.ec-cube.net/ $ tar xvzfpP eccube-2.13.5.tar.gz $ mv eccube-2.13.5/html/ public_html $ mv eccube-2.13.5/data/ ./ $ rm -fr eccube-2.13.5 $ rm -f eccube-2.13.5.tar.gz **データベースの準備 MySQL [#y52eae46] $ mysql -u root mysql> create database eccube_db default character set utf8; mysql> create user 'eccube_db_user'@'localhost' indentified by 'eccube_db_password'; mysql> grant all on eccube_db.* to 'eccube_db_user'@'localhost'; **データベースの準備 PostgreSQL [#bbedf3cf] $ createuser eccube_db_user Shall the new role be a superuser? (y/n) n Shall the new role be allowed to create databases? (y/n) y Shall the new role be allowed to create more new roles? (y/n) n $ createdb -U eccube_db_user -E UTF-8 -T template0 eccube_db $ psql -U eccube_db_user eccube_db => ALTER USER eccube_db_user PASSWORD 'password'; **ブラウザでアクセスしセットアップ [#g936ff65] ブラウザでアクセスして説明に従ってセットアップします。 セットアップ完了後は install フォルダを削除します。 $ rm -fr public_html/install