DEV Community

Cover image for Adminer replace phpmyadmin, run with php build in webserver
hardyweb
hardyweb

Posted on • Edited on

Adminer replace phpmyadmin, run with php build in webserver

Biasanya, budak-budak IT yang baru belajor buat website terutama yang mahu buat sistem berasaskan html, php dan mysql,mereka akan didoktrinkan dengan aplikasi xampp atau aplikasi Laragon yang datang dengan php, mysql, apache2,nginx, phpmyadmin.

doktrin yang ditanam dalam minda, Jika mahu buat website, wajib install xampp, sehingga ada sesetengahnya menjadikan xampp sebagai production web server.

Untuk proses pembangunan web di localhost tanpa xampp, boleh guna scoop untuk install php

ada tutorial install aplikasi menggunakan scoop di https://dev.to/nikolastojilj12/using-scoop-and-cmder-to-make-php-development-on-windows-bearable-8pd

scoop install php 
Enter fullscreen mode Exit fullscreen mode
scoop install mysql 
Enter fullscreen mode Exit fullscreen mode

tutorial detail di https://mebee.info/2022/07/01/post-51251/

untuk ganti phpmyadmin, boleh download adminer.php di https://www.adminer.org/

letak dalam satu folder, guna cmder untuk run arahan php untuk aktifkan buildin php web server.

contoh di bawah.

c:\\adminer\php -S 0.0.0.0:8000
Enter fullscreen mode Exit fullscreen mode

buka tab baru dalam cmder,

c:\\project\php -S 0.0.0.0:8001
Enter fullscreen mode Exit fullscreen mode

untuk run projek, boleh buka url localhost:8001 manakala untuk manage database boleh buka localhost:8000

catatan: aku guna cmder sebagai ganti cmd/powershell, boleh juga guna terminal

Google Translate

Buy Me A Coffee

Reinvent your career. Join DEV.

It takes one minute and is worth it for your career.

Get started

Top comments (0)

Postgres on Neon - Get the Free Plan

No credit card required. The database you love, on a serverless platform designed to help you build faster.

Get Postgres on Neon

👋 Kindness is contagious

Immerse yourself in a wealth of knowledge with this piece, supported by the inclusive DEV Community—every developer, no matter where they are in their journey, is invited to contribute to our collective wisdom.

A simple “thank you” goes a long way—express your gratitude below in the comments!

Gathering insights enriches our journey on DEV and fortifies our community ties. Did you find this article valuable? Taking a moment to thank the author can have a significant impact.

Okay