Lab2: For Mac USer only (using XAMPP server)

 Start Sampp Server



https://www.wikihow.com/Start-XAMPP-at-Startup-in-Windows




Select items to launch at startup. Click the box next to any of the modules in the "Autostart of modules" area to select it for automatic startup. If a box contains a checkmark, it means the module will start when you launch the XAMPP Control Panel.





Root folder for xampp server
https://ourcodeworld.com/articles/read/1093/how-to-access-the-htdocs-directory-of-xampp-from-a-computer-or-mobile-device-in-the-same-local-area-network-lan

 In the root directory of htdocs in xampp (C:\xampp\htdocs) namely mywebpage.html with the following content:

<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta http-equiv="X-UA-Compatible" content="ie=edge">
        <title>Hello World</title>
    </head>
    <body>
        <h2>You are viewing this HTML file from a device via LAN</h2>
    </body>
</html>


Goto : http://localhost/mywebpage.html



To test your Database

Goto http://localhost/phpmyadmin/



No comments:

Post a Comment

Note: only a member of this blog may post a comment.