From the course: Installing Apache, MySQL, and PHP

Manage WampServer

From the course: Installing Apache, MySQL, and PHP

Start my 1-month free trial

Manage WampServer

- [Instructor] WampServer has an administration menu that's available through the system tray icon. Before I start WampServer, I'm going to unhide the taskbar, so I can easily see what happens when WampServer starts up. I'll turn off the feature in Windows that automatically hides the taskbar. Then on the desktop, where I have a WampServer icon, I'll double click. If you don't see the icon on the desktop, go to your start menu and look for WampServer. WampServer's administration interface always starts up in admin mode. So when you start it, you might see a user account control dialogue. After you click yes, you should see a new icon appear on the taskbar. If you don't see it visible, look in the hidden area and see if it appears there. Click on the icon and you'll see a menu appear. From here you can start and stop all services and that would include Apache and MySQL. And you'll also see individual menus for MariaDB, MySQL, Apache and PHP. To go to the main page, click on local host at the top, and that should take you to the WampServer Homepage. Notice that local host doesn't have a port number at the end. And that means, that's it's listening on the default port 80. You also see the port numbers for MariaDB and MySQL listed on this page, along with links to important tools. For example, if you want to find out which version of PHP you're running, click on PHP info, and I'll see that I'm currently running PHP 7.3. I can change that easily by going to the WampServer administration menu, and I'll choose PHP, version and I'll switch to version 7.4. I'll see a couple of command windows fly by and then I'll refresh the screen and now I'm running on PHP 7.4. You can also get to phpMyAdmin from the menu. This is the web-based interface that let's you manage your databases. You can choose ither MariaDB or MySQL. I'll choose my MySQL and the default password for the WampServer installation is an empty string. So I don't need to type anything there, I'll just click go, and I'll see MySQL admin open in my browser. From here I can see my databases, execute queries, see the server status and do everything else that you can do with phpMyAdmin. You can also get to the php.ini file from here. That's the file that you use to configure PHP. I'll go to the PHP menu and choose php.ini and that opens the file in whatever text editor you selected during the installation process. Whenever you want to stop the servers, go back to the menu, and choose stop all services, or you can choose restart all services. As always, I'll remind you that you can only run one instance of each service at a time listening on a particular port. So if you're trying to move back and forth between the version of Apache that's bundled with WampServer and the individual component that you might have downloaded and installed previously, only one of those instances can be running at a time. There are other features available in the administrative interface and I encourage you to explore them all to see what else you can do with WampServer.

Contents