943,640 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 14912
  • PHP RSS
You are currently viewing page 1 of this multi-page discussion thread
May 5th, 2008
0

Run PHP program

Expand Post »
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
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
revathis is offline Offline
10 posts
since May 2008
May 6th, 2008
0

Re: Run PHP program

Make sure they are in your http doc root folder, and then load them into your browser.
Example:
http://localhost/first.php
Reputation Points: 23
Solved Threads: 12
Junior Poster in Training
Daedal is offline Offline
73 posts
since Apr 2008
May 6th, 2008
0

Re: Run PHP program

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.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
revathis is offline Offline
10 posts
since May 2008
May 6th, 2008
0

Re: Run PHP program

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.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
revathis is offline Offline
10 posts
since May 2008
May 6th, 2008
0

Re: Run PHP program

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 !
Moderator
Featured Poster
Reputation Points: 524
Solved Threads: 356
Purple hazed!
nav33n is offline Offline
3,878 posts
since Nov 2007
May 6th, 2008
0

Re: Run PHP program

I offer Xampp.

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

I am using. No need to configure anything. Just install the program.
Reputation Points: 8
Solved Threads: 0
Junior Poster in Training
jamshid is offline Offline
70 posts
since Jan 2006
May 6th, 2008
0

Re: Run PHP program

I have installed Wampserver.
its working now.
Thanks

Click to Expand / Collapse  Quote originally posted by nav33n ...
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 !
Reputation Points: 10
Solved Threads: 0
Newbie Poster
revathis is offline Offline
10 posts
since May 2008
May 6th, 2008
0

Re: Run PHP program

Thanks Jamshit
Reputation Points: 10
Solved Threads: 0
Newbie Poster
revathis is offline Offline
10 posts
since May 2008
May 6th, 2008
0

Re: Run PHP program

In wampserver, i got the error for database

phpMyAdmin - Error

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

pls help me.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
revathis is offline Offline
10 posts
since May 2008
May 6th, 2008
0

Re: Run PHP program

In wampserver, i got the error for database

phpMyAdmin - Error

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

pls help me.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
revathis is offline Offline
10 posts
since May 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC