Use a programming editor (such as notepad++ for Windows, or gedit for Ubuntu/macOS) to write a simple PHP script called " hello.php" and save under the " htdocs" directory, as follows: Write a Hello-world PHP Scriptīy default, the Apache's document root directory is located at " /htdocs". To shutdown XAMPP, stop all the services (servers) and press "Quit". Set a password for root, and remove the anonymous user (See " PhpMyAdmin" section). Select the "User accounts" tab, which reveals that no password is set for the superuser root and the anonymous user "Any". Select "phpMyAdmin" from the dashboard, or issue " or click the "Admin" button under MySQL to launch PhpMyAdmin webapp to access the MariaDB/MySQL. ![]() Check out the " htdocs" (Apache's document base directory) and browse thru the " index.php".On your browser, issue " (or " Check out the menu items such as "HOW-TO Guides", "FAQs", "PHPInfo".Start the Apache and MariaDB/MySQL servers by clicking the "Start" buttons. ![]() To verify the installation, launch the "XAMPP Control Panel". Verifying the Apache/MariaDB Servers Installationīy default, a directory called " htdocs" was created under the XAMPP installed directory, which serves as the Apache's document root directory. You can also check their configurations ("Config"), logs ("Logs") and launch the administrator tools such as PhpMyAdmin for MySQL ("Admin"). The "XAMPP Control Panel" allows you to start/stop each of these servers: Apache HTTP Server, MySQL Database Server, FileZilla FTP Server, Mercury Mail Server, and Tomcat HTTP Server. Right-click on the icon ⇒ "Show/Hide" to show the "full" Control Panel Window. for macOS) under the XAMPP installed directory. Launch the "XAMPP Control Panel" (" xampp-control.exe" for Windows, Check. I shall assume that XAMPP is installed in ".
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |