Monday, June 9, 2014

How to run a PHP project

To run a php project first we need to have a server in our localsystem(since we are testing our project localhost will act as both client and server).Download xampp server from here. After downloading install it. Now follow the series of steps to run the project

  • Open xampp control panel and start the Apache.

  • Copy your project folder and place it under C:\xampp\htdocs.




  • Open browser and type "localhost/projectfoldername/or filename.php".

  • You can give like this "localhost/projectfoldername" if your project contains index.php otherwise mention the file name like this "localhost/projectfoldername/filename.php".
  • Filename need not to be php it can be anything like html too.




No comments :

Post a Comment

Designed By Seo Blogger Templates