关于
One command to install or update phpMyAdmin in Laravel Herd (macOS) or Homestead. Verifies the download and keeps your config.
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- -1
- 1个月
- 更新延迟
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文About
Shell script that installs or updates phpMyAdmin in a Laravel Herd parked folder on macOS, or on a Laravel Homestead box.
It checks the download against phpMyAdmin's published checksum, leaves an existing install
alone when a download fails, and updates phpMyAdmin when you run it again
(your config.inc.php is kept).
Usage
Herd (macOS)
cdto a folder that Herd serves (a parked path, by default~/Herd)curl -fsS https://raw.githubusercontent.com/grrnikos/pma/master/pma.sh | bashGo to http://phpmyadmin.test and log in with your MySQL user, for example
rootwith an empty password on DBngin or Herd Pro. phpMyAdmin connects to127.0.0.1on port 3306; for another port, add$cfg['Servers'][1]['port'] = '3307';tophpmyadmin/config.inc.php
Homestead
Laravel Homestead is archived and no longer maintained. For new setups, Laravel suggests Herd.
SSH into your Homestead box:
vagrant sshfrom your Homestead directorycdto your code/projects directory (by default~/code)curl -fsS https://raw.githubusercontent.com/grrnikos/pma/master/pma.sh | bashOpen the
/etc/hostsfile on your main machine and add your box's IP, by default192.168.56.56 phpmyadmin.testGo to http://phpmyadmin.test. Default credentials are username
homesteadand passwordsecret
Updating
Run the curl step again in the same folder.
Other setups
These don't need the script:
Sail: add a service to your
compose.yaml, thensail up -dand go to http://localhost:8080phpmyadmin: image: 'phpmyadmin:latest' ports: - '${FORWARD_PMA_PORT:-8080}:80' environment: PMA_HOST: mysql networks: - sail depends_on: - mysqlDocker:
docker run --name phpmyadmin -d -e PMA_HOST=host.docker.internal -p 8080:80 phpmyadmin:latest(image docs)DDEV:
ddev add-on get ddev/ddev-phpmyadmin && ddev restart(add-on docs)
License
The MIT License (MIT). Please see License File for more information.
探索相关项目
加载中…