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

API Trace View

Struggling with slow API calls? πŸ‘€

Dan Mindru walks through how he used Sentry's new Trace View feature to shave off 22.3 seconds from an API call.

Get a practical walkthrough of how to identify bottlenecks, split tasks into multiple parallel tasks, identify slow AI model calls, and more.

Read more β†’

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

πŸ‘‹ Kindness is contagious

Please leave a ❀️ or a friendly comment on this post if you found it helpful!

Okay