Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Php PHP PHP Triad Tutorial

 
 

Share on Google+Share on Google+

PHP PHP Triad Tutorial

Advertisement
Run PHP scripts on your computer, find out where and how.

PHP-Triad Tutorial

     

In this PHPTriad tutorial we will learn how to download install and test an application on the PHPTriad server.

PHPTriad is a software package which installs PHP, Apache and MySQL  all together in your computer. It also set the necessary configuration .

The PHPTriad can be downloaded from http://sourceforge.net/projects/phptriad/. To download the latest version visit the office website of the PHP Triad.

Download the PHPTriad (latest version), after downloading simple clicking will install the software in your system. c:\apache folder will be the root directory, in this folder you can see the subfolders PHP and MySQL, scripts must be placed in c:\apache\htdocs folder.

 

Installing PHPTriad

The following figures will help you  to install  and run PHPTriad .

 

Step i) Double click the setup file icon:

ii)  Following figure will show that progress of the installation.

 

iii)  After completion, go to start button, click programs, click PHPTriad, select start apache, following figure will appear on your screen.

 

iv) Open any Internet browser, type http://localhost/ press enter. following web page will be displayed and you will come to know that the server is running.

 

In C:\APACHE\HTDOCS folder type the following code and save it as Hello.php.

<?php
echo "Hello";
?>
Now type on the address bar of Internet browser http://localhost/Hello.php, after pressing the enter button, following output will be displayed:

Hello

Every PHP  file  will be written in the C:\APACHE\HTDOCS folder.

Advertisement

If you enjoyed this post then why not add us on Google+? Add us to your Circles



Liked it!  Share this Tutorial


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: November 12, 2009

Related Tutorials

Discuss: PHP PHP Triad Tutorial  

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Comments:4
suripto
September 27, 2011
Belajar

Asyik Belajar PHP Triad
Waseem
July 8, 2012
Thanks

I was much worried but it helped me alot. Once again thanks alot.
sahar nader
October 14, 2012
question

I installed the php-triad software but the previous code doesn't output the expected result;and when I open the web browser and input the name of the file ;the output looks like the whole text file;and I wont to know where is the problem exactly?????
hemant
April 21, 2013
How to use mysql

I have installed PHP triod and php file are working ok. But I hae Question that how i create Database using mysql.
DMCA.com