From the course: PHP: Creating Secure Websites

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

phpinfo and phpMyAdmin

phpinfo and phpMyAdmin - PHP Tutorial

From the course: PHP: Creating Secure Websites

Start my 1-month free trial

phpinfo and phpMyAdmin

- [Instructor] phpinfo and phpMyAdmin are useful tools, but it's essential that you keep them secure. A phpinfo file is simply a PHP file that calls the built-in function phpinfo. When accessed through the browser, it reports a lot of useful information about how the server has been set up, what's installed, and all the configurations that PHP uses. When we're first setting everything up, it can be really useful. What you don't want is for this information to stick around so that others have access to it besides you. Leaving the file where the public can get to it is a rookie mistake. You also need to be careful with phpMyAdmin. phpMyAdmin is a third-party application that gives access to a MySQL database using a browser. I mention PHP admin here, even though it's a third-party application, because it's very popular. Some PHP installations come with it built-in. It should be obvious why you want to keep this hidden.…

Contents