- make sure you have php 5.3+: run
php -v
- Download phpmyadmin (github or main website)
- In the root directory, copy
config.sample.inc.php
>config.inc.php
- Edit config.inc.php, set
$cfg['Servers'][$i]['host']
to the ip address of your mysql server (probably localhost or 127.0.0.1) - In the root phpmyadmin directory run
php -S localhost:8080
- open in your browser: http://localhost:8080
- log in by entering some valid credentials (a user you added or the root user)
Last active
October 30, 2023 14:06
-
-
Save iturgeon/0bf432de45a2f19aeb38e2bbae8a4567 to your computer and use it in GitHub Desktop.
How to run phpMyAdmin using the built in php webserver
Very useful thanks :+1 : )
nice, one, thanks!
Awesome, thanks. Had to change the default localhost
to 127.0.0.1
on macOS.
Thank you 😁
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks so much ;)