Introduction to PHP

Experiment 8

Objective

To install PHP using XAMPP and understand basic PHP concepts such as variables, output functions and executing through a local server.

Procedure

1
Install XAMPP on your system.
Install XAMPP
2
Start Apache and MySQL servers.
Start XAMPP
3
Create a PHP file in the htdocs folder.
Create PHP file
4
Write PHP code in the file.
PHP code
5
Open the file in a web browser.
PHP output

Conclusion

I have successfully installed XAMPP and executed a PHP file in a web browser.