Tentang
One command to install or update phpMyAdmin in Laravel Herd (macOS) or Homestead. Verifies the download and keeps your config.
Pengembangan web dan aplikasiPertumbuhan bintang terukur
- dalam 24 jam
- 0
- dalam 7 hari
- 0
- dalam 15 hari
- -1
- dalam 1 bulan
- Mengumpulkan riwayat
Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.
README.md
AsliAbout
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.
Jelajahi proyek terkait
Memuat…