EC CUBE 4 WSL2 docker ubuntu

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

cd ec-cube
code .
docker-compose.yml
#↓phpmyadminの記述部分【追加開始】
phpmyadmin:
image: phpmyadmin/phpmyadmin
environment:
- PMA_HOST=mysql
- PMA_USER=root
- PMA_PASSWORD=root
links:
- mysql
ports:
- 4040:80
volumes:
- ./phpmyadmin/sessions:/sessions
networks:
- backend
#↑phpmyadminの記述部分【追加終了】

docker-compose -f docker-compose.yml -f docker-compose.mysql.yml up -d


http://localhost:8080/

http://localhost:8080/admin/login
admin/password


http://localhost:4040/

phpMyAdmin – Error
Error during session start; please check your PHP and/or webserver log file and configure your PHP installation properly. Also ensure that cookies are enabled in your browser.
session_start(): open(SESSION_FILE, O_RDWR) failed: Permission denied (13)
session_start(): Failed to read session data: files (path: /sessions)
cd /var/lib/php
chmod 777 sessions/

docker-compose -f docker-compose.yml -f docker-compose.mysql.yml doiwn
-
前の記事
Laravel Filament 3 インストール、基本、1対N、N対N 学習メモ 2025.03.20
-
次の記事
Laravel Filament 3 Tabs Table Filters 学習メモ 2025.03.26