Uploaded by suhagiyaesha11

intership

advertisement
Configuring PHP, Web Server, and MySQL database using
WAMP:Step 1: Start the WAMP server by clicking on the WAMP icon on your
desktop.
216470307069
Page 1
Step 2: Open your web browser and type htp://localhost/ in the
address bar. This will open the
WAMP homepage.
216470307069
Page 2
216470307069
Page 3
216470307069
Page 4
Step 3: Click on the phpMyAdmin link to access the MySQL database
management tool.
216470307069
Page 5
216470307069
Page 6
Step 4: To create a new database, click on the "New" buton and enter
the database name.
216470307069
Page 7
Step 5: To create a new table, select the database and click on the
"New" buton. Enter the table
name and fields.
216470307069
Page 8
Step 6: To access PHP, create a new file with a .php extension in the
www folder located in the
WAMP installa on directory. For example, create a file named
"hello.php" with the following code:
Php code
<?php echo "Hello, world!"; ?>
216470307069
Page 9
Step 7: Save the file and open your web browser. Type
htp://localhost/hello.php in the address bar.
You should see "Hello, world!" displayed in your browser.
Congratula ons! You have successfully installed and configured PHP,
Web Server, and MySQL
database using XAMPP and WAMP.
216470307069
Page 10
216470307069
Page 11
Download