1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

eccube-4.2.1 を symfony/cli でインストール (sqlite3)

Last updated at Posted at 2023-03-09

こちらを参考にしました。
【2020年度版】EC-CUBE の開発環境の作り方

Arch Linux を使いました。
データベースは、sqlite3 です。

準備

symfony/cli のインストール

yay symfony-cli

バージョンの確認

$ symfony -V
Symfony CLI version 5.5.1 (c) 2021-2023 Fabien Potencier #StandWithUkraine Support Ukraine (2023-03-09T08:48:16Z - stable)

sqlite3 のドライバーのインストール

sudo pacman -S php-sqlite

/etc/php/php.ini の設定

/etc/php/php.ini
(省略)
extension=intl
(省略)
extension=pdo_sqlite
(省略)

ソースコードのダウンロード

git clone https://github.com/EC-CUBE/ec-cube.git

インストール

cd ec-cube
symfony composer install
symfony console eccube:install -n

サーバーの起動

symfony server:start --daemon

フロント画面

http://localhost:8000/
image.png

管理画面

http://localhost:8000/admin/
image.png

ユーザー admin
パスワード password
でログイン
image.png

システム情報

EC-CUBE 4.2.1

サーバーOS Linux shimizu 6.2.2-arch1-1 #1 SMP PREEMPT_DYNAMIC Fri, 03 Mar 2023 15:58:31 +0000 x86_64

DBサーバー SQLite version 3.41.0

WEBサーバー Symfony Local Server 5.5.1

PHP 8.2.3 (Core, date, libxml, openssl, pcre, zlib, ctype, dom, fileinfo, filter, hash, json, mbstring, pcntl, SPL, session, PDO, standard, posix, random, readline, Reflection, Phar, SimpleXML, tokenizer, xml, xmlreader, xmlwriter, mysqlnd, cgi-fcgi, mysqli, curl, intl, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, sqlite3, zip)
1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?