Computer ForumsComputers  

Go Back   Computer Forums > Programmers Lounge > Programming Discussions

Reply
 
LinkBack Thread Tools Display Modes
Old 04-10-2004, 10:34 PM   #1 (permalink)
True Techie
 
Join Date: Mar 2004
Posts: 151
Default how to run a php scrip?

i am wondering how can i browser the php file in the local machine,( i am very new in php programing) how can i c the results in my own machine without ftping the php file to the server that has mysql support? if my own machine isn't use as a server. is any software can help to browse the .php file i browse in the web? what about cgi, and jsp, i have dreamweaver that it looks like it supports browsing php and jsp, but i can't, any help? thanx in advence.
gohand is offline   Reply With Quote
Old 04-16-2004, 11:22 PM   #2 (permalink)
Monster Techie
 
Join Date: Jul 2003
Posts: 1,179
Send a message via AIM to Emily
Default

PHP is a server-side language, so PHP will only execute on a server with PHP installed. You can download PHP onto your computer from www.php.net, but I find it a lot easier just to upload scripts.
__________________
www.upstark.com
Emily is offline   Reply With Quote
Old 04-17-2004, 12:45 PM   #3 (permalink)
Super Techie
 
Join Date: Apr 2004
Posts: 316
Default

You will also need a web server installed. They best free one is Apache(http://httpd.apache.org/). I recommend that you get the 1.3.29 as it seems to be more stable, and if you have Win XP Home you HAVE to get that version the 2 version will not work on XP Home.
__________________
BlazingWolf



Gaming-Forums.org


BlazingWolf is offline   Reply With Quote
Old 04-17-2004, 05:07 PM   #4 (permalink)
True Techie
 
Join Date: Mar 2004
Posts: 151
Default

Quote:
Originally posted by BlazingWolf
You will also need a web server installed. They best free one is Apache(http://httpd.apache.org/). I recommend that you get the 1.3.29 as it seems to be more stable, and if you have Win XP Home you HAVE to get that version the 2 version will not work on XP Home.
what about win2k3?
gohand is offline   Reply With Quote
Old 04-18-2004, 09:34 PM   #5 (permalink)
Super Techie
 
Join Date: Apr 2004
Posts: 316
Default

I don't know but I recommend the 1.3 version anyway.
__________________
BlazingWolf



Gaming-Forums.org


BlazingWolf is offline   Reply With Quote
Old 04-24-2004, 11:55 PM   #6 (permalink)
True Techie
 
Join Date: Mar 2004
Posts: 151
Default

well anyway the thing that i want to find out is there a software that can see results or to run a php script actually like front page or dreamweaver the way to browse html.
gohand is offline   Reply With Quote
Old 04-25-2004, 12:16 AM   #7 (permalink)
Super Techie
 
Join Date: Apr 2004
Posts: 316
Default

1)You need to install PHP, and Apache.

2)Then you put your files in .../ApacheGroup/Apache/htdocs

3)Open an instance of IE type http://localhost

4)Select the filename and there you go.
__________________
BlazingWolf



Gaming-Forums.org


BlazingWolf is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 10:19 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0