Run PHP program

Reply

Join Date: May 2008
Posts: 10
Reputation: revathis is an unknown quantity at this point 
Solved Threads: 0
revathis revathis is offline Offline
Newbie Poster

Run PHP program

 
0
  #1
May 5th, 2008
Hi,

I am new to PHP.

I have installed apache, PHP 5.2 and MySql.

Plz tell me How I run PHP programs??

Thanks & Regards,
Revathi
Reply With Quote Quick reply to this message  
Join Date: Apr 2008
Posts: 45
Reputation: Daedal is an unknown quantity at this point 
Solved Threads: 11
Daedal's Avatar
Daedal Daedal is offline Offline
Light Poster

Re: Run PHP program

 
0
  #2
May 6th, 2008
Make sure they are in your http doc root folder, and then load them into your browser.
Example:
http://localhost/first.php
Reply With Quote Quick reply to this message  
Join Date: May 2008
Posts: 10
Reputation: revathis is an unknown quantity at this point 
Solved Threads: 0
revathis revathis is offline Offline
Newbie Poster

Re: Run PHP program

 
0
  #3
May 6th, 2008
Ya, it's in C:\Program Files\Apache Group\Apache2\htdocs.

if i run this URL http://localhost/test1.php,

the output was the program wat i typed.
Reply With Quote Quick reply to this message  
Join Date: May 2008
Posts: 10
Reputation: revathis is an unknown quantity at this point 
Solved Threads: 0
revathis revathis is offline Offline
Newbie Poster

Re: Run PHP program

 
0
  #4
May 6th, 2008
Ya, it's in C:\Program Files\Apache Group\Apache2\htdocs.if i run this URL http://localhost/test1.php,the output was the program wat i typed.
Reply With Quote Quick reply to this message  
Join Date: Nov 2007
Posts: 3,739
Reputation: nav33n is a jewel in the rough nav33n is a jewel in the rough nav33n is a jewel in the rough 
Solved Threads: 330
Moderator
Featured Poster
nav33n's Avatar
nav33n nav33n is offline Offline
Senior Poster

Re: Run PHP program

 
0
  #5
May 6th, 2008
Your apache isn't configured to parse php files. Either try http://www.expertsrt.com/tutorials/M...ll-apache.html OR install Wamp or xxamp ! Wamp/xxamp is a bundled software with pre-configured apache/php and mysql !
Ignorance is definitely not bliss!

*PM asking for help will be ignored*
Reply With Quote Quick reply to this message  
Join Date: Jan 2006
Posts: 70
Reputation: jamshid is an unknown quantity at this point 
Solved Threads: 0
jamshid's Avatar
jamshid jamshid is offline Offline
Junior Poster in Training

Re: Run PHP program

 
0
  #6
May 6th, 2008
I offer Xampp.

http://www.apachefriends.org/en/xampp.html

I am using. No need to configure anything. Just install the program.
Impossible is Nothing
Reply With Quote Quick reply to this message  
Join Date: May 2008
Posts: 10
Reputation: revathis is an unknown quantity at this point 
Solved Threads: 0
revathis revathis is offline Offline
Newbie Poster

Re: Run PHP program

 
0
  #7
May 6th, 2008
I have installed Wampserver.
its working now.
Thanks

Originally Posted by nav33n View Post
Your apache isn't configured to parse php files. Either try http://www.expertsrt.com/tutorials/M...ll-apache.html OR install Wamp or xxamp ! Wamp/xxamp is a bundled software with pre-configured apache/php and mysql !
Reply With Quote Quick reply to this message  
Join Date: May 2008
Posts: 10
Reputation: revathis is an unknown quantity at this point 
Solved Threads: 0
revathis revathis is offline Offline
Newbie Poster

Re: Run PHP program

 
0
  #8
May 6th, 2008
Thanks Jamshit
Reply With Quote Quick reply to this message  
Join Date: May 2008
Posts: 10
Reputation: revathis is an unknown quantity at this point 
Solved Threads: 0
revathis revathis is offline Offline
Newbie Poster

Re: Run PHP program

 
0
  #9
May 6th, 2008
In wampserver, i got the error for database

phpMyAdmin - Error

Cannot load mysqli extension. Please check your PHP configuration. - Documentation.

pls help me.
Reply With Quote Quick reply to this message  
Join Date: May 2008
Posts: 10
Reputation: revathis is an unknown quantity at this point 
Solved Threads: 0
revathis revathis is offline Offline
Newbie Poster

Re: Run PHP program

 
0
  #10
May 6th, 2008
In wampserver, i got the error for database

phpMyAdmin - Error

Cannot load mysqli extension. Please check your PHP configuration. - Documentation.

pls help me.
Reply With Quote Quick reply to this message  
Reply

Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC