How to run the php project/program?

How to run the php project/program?


  • Extract the zip or rar file.
  • After extracting you will get one folder then cut/copy that folder and paste it into the folder  called htdoc.
    (
    htdoc folder is available in c drive->xampp->htdoc)
    note:if you are using wampp then place the project in www folder)
  • Start the xampp/wampp.
  • Then click on start to apache and MySql.
  • Start your browser and type localhost and press enter.
  • Then click on phpmyadmin.
  • Click on new and type database name.
  • Click on create button (left side of screen).
  • Click on import button.
  • Click on choose database file from your project folder
  • Click on go.
  • Now  open chrome/mozilla and type localhost/projectname
  • Done,And now you can use project.

Video Explanation :






Questions:


1. Where can i get database name?
->In project folder,there is one file with extension .sql like database.sql that is your database name,and your database name is "database" not database.sql

2.Where can i get database file?
->In project folder,there is one file with extension .sql like database.sql that is your database file.


3. Errors in PHP




Comments

Post a Comment

Popular posts from this blog

How to set image in carousel using flask?

Invalid syntax , perhaps you forgot a comma? Error in Python

File structure / C++ mini projects