How to run phpmyadmin without apache only using the php built-in web server?
https://www.zyxware.com/sites/default/files/styles/user_image/public/default_images/index.png?itok=dkp9qUXZ
BY abhai.sasidharan
5 years ago
Technical-Solution

Before reading this, please familiarize yourself in setting up a php built-in web server. Phpmyadmin is usually installed along with apache web server. Depending on the version of apache you may have some complications along the way. Fear not, for php has introduced something known as a built-in webserver! With this, you can convert any local folder into a server and host a site locally there. This article will show you how to run phpmyadmin without using apache.

Before downloading phpmyadmin, you must make sure you have mysql-client and mysql-server installed. If not, from terminal, run the following.


sudo apt-get install mysql-client
sudo apt-get install mysql-server

You will be prompted for a root password, which you should enter, with which you will be logging in to phpmyadmin as well.
Once you have downloaded phpmyadmin, you have to extract it anywhere with access. Then navigate to root folder using terminal and run 'php -S localhost:8000'. This will make that folder into a local web server. Now access 'http://localhost:8000' from your browser and you will see phpmyadmin login page!Simple right?

You can also replace "localhost" with an IP address so that other computers connected via LAN or to the same wifi network can access this. Eg 'php -S 192.168.10.25:8000'. Now every other computer connected to the same LAN can access this from http://192.168.10.25:8000


RELATED ARTICLE

/themes/custom/zyxpro_light/images/placeholder.png
close

on 04th April 2007 / by webmaster
Linux is the epitome of the FLOSS model. Technical Solution Linux installation Dewey J. Corl (not verified) access_time 31 Jul 2021 - 15:05 Linux is not ready for the general public! (I am a Ubuntu user). For proof, 1. try to simply print labels on a Dymo label printer. It takes a LOT of work to get to the ease of label printing already available in Windows and Mac. 2. try syncing a modern Palm based PDA. Yes, jpilot and others will sync the main data, but pictures and midi files do not get transferred without a lot of extra setup. These are examples of applications that are not ready for the general public. Since an operating system only supports applications, Linux is not ready to be a common desktop for the general public. While we are waiting for the applications to catch up, keep up the good work!! Anoop John (not verified) access_time 31 Jul 2021 - 15:05 Dewey Yes you may be right. But these are not applications that a common man would use. A common man would use one of these applications - Internet browser, Chat Client, Email Client, Document Writer, Presentation Creator, Spreadsheet Editor, Movie Viewer, Music Player, CD/DVD Writer. Both examples you cited are more specific applications that only a small percentage of the whole population uses. It will take time before those hardware vendors identify the need from their perspective to address the Linux community. Krishnadas (not verified) access_time 31 Jul 2021 - 15:05 Dear Mr Anoop, Thank you very much for the free installation of LINUX done in my PC. I am getting immersed in the LINUX and seeing the versatility. To my surprise, I am able to read one of my old backup CD(wherein lot of my valuable file exist) done in DIRECT CD wizard (a custom cd writing software of Easy Cd creator in WIN98) which could not be read in XP. Installation of old version of easycd creator/direct cd program was not possible in XP. I thought that possible i lost all data. Very pleasant start! Srikanth N. S. (not verified) access_time 31 Jul 2021 - 15:05 Hi Anoop, My friend is thrilled with Ubuntu. One of his grouses with windows was that after OS installation, everything else is to be installed separately which is a real headache. WHereas if u install Linux, everything is installed as a package and he is thrilled to bits! Let linux installation spread in Trivandrum and your service in this direction is highly appreciated. Kepp up the good work Regards. PDA Freak (not verified) access_time 31 Jul 2021 - 15:05 Is it possible to install linux on a packardbell notebook ?