Webmaster Forum


Go Back   Webmaster Forum > Web Development > Coding Forum

Coding Forum Problems with your code? Discuss coding issues, including JavaScript, PHP & MySQL, HTML & CSS, Flash & ActionScript, and more.


Reply
 
LinkBack Thread Tools Display Modes
Share |
  #1 (permalink)  
Old 10-05-2004, 03:41 PM
SN3's Avatar
SN3 SN3 is offline
Senior Member
Latest Blog:
None

 
Join Date: 10-13-03
Location: Work, USA
Posts: 2,795
iTrader: 0 / 0%
Php

How can I view PHP files (like on a webserver) on my computer? I installed php on my windows xp computer but it won't work. Any help?
__________________
[affiliate link removed. V7N Moderator]
 
Reply With Quote
  #2 (permalink)  
Old 10-05-2004, 03:55 PM
Senior Member
Latest Blog:
None

 
Join Date: 04-28-04
Location: New Jersey, USA
Posts: 170
iTrader: 0 / 0%
you can load it in dreaweaver and preview it in your browser
__________________
Dark Matter - HPLC
 
Reply With Quote
  #3 (permalink)  
Old 10-05-2004, 04:19 PM
SN3's Avatar
SN3 SN3 is offline
Senior Member
Latest Blog:
None

 
Join Date: 10-13-03
Location: Work, USA
Posts: 2,795
iTrader: 0 / 0%
I will never use dreamweaver.
__________________
[affiliate link removed. V7N Moderator]
 
Reply With Quote
  #4 (permalink)  
Old 10-05-2004, 04:29 PM
Junior Member
 
Join Date: 05-19-04
Posts: 13
iTrader: 0 / 0%
You have to actually install a webserver on your home computer.

The most popular webserver would be Apache

Then you would be able to goto http://localhost/phpscript.php
 
Reply With Quote
  #5 (permalink)  
Old 10-05-2004, 05:27 PM
DOS's Avatar
DOS DOS is offline
Senior Member
Latest Blog:
None

 
Join Date: 08-03-04
Posts: 526
iTrader: 0 / 0%
Yea, I would recommend Apache as well.

BTW - Post #100!
 
Reply With Quote
  #6 (permalink)  
Old 10-05-2004, 05:51 PM
hatchet's Avatar
Senior Member
Latest Blog:
None

 
Join Date: 10-11-03
Posts: 833
iTrader: 0 / 0%
www.foxserv.net is what I've always used.. comes as a package with apache, php, mysql, etc.. don't let the current site scare you - click on the old support forum which has quite a bit of information and development stuff.
 
Reply With Quote
  #7 (permalink)  
Old 10-05-2004, 08:05 PM
littleFella's Avatar
Senior Member
Latest Blog:
None

 
Join Date: 06-20-04
Location: Ontario
Posts: 1,758
iTrader: 0 / 0%
If the purpose of the server is mainly to make PHP alive on the developet workstation then I would suggesst Xitami web server. It's smaller than Apche, uses less resources, processes page requests up to 90% faster than Apache and it's pretty easy to use.

This is especially useful when the server and the client are on the same machine, and when the OS is Windows - makes things faster and more responsive.
 
Reply With Quote
  #8 (permalink)  
Old 10-05-2004, 08:36 PM
seonewbee's Avatar
Senior Member
Latest Blog:
None

 
Join Date: 05-12-04
Posts: 302
iTrader: 0 / 0%
What are the files associated with and where are the php files stored.? You might have to move them. What are the permissions for the php files?
 
Reply With Quote
  #9 (permalink)  
Old 10-06-2004, 12:50 AM
nandini's Avatar
Contributing Member
Latest Blog:
None

 
Join Date: 07-08-04
Location: India
Posts: 328
iTrader: 0 / 0%
Quote:
Originally Posted by SN3
How can I view PHP files (like on a webserver) on my computer? I installed php on my windows xp computer but it won't work. Any help?
1. Install MySQL Server
2. Install Apache/Xitami...
3. Install PHP
4. Configure httpd.conf file for Apache
a.) Make a root folder, where you will put your files

now if you want to see the code, open it in Editplus/Notepad/TextPad andything.

And if you want to see the result..open the browser. http://localhost/testyourfile.php
 
Reply With Quote
  #10 (permalink)  
Old 10-06-2004, 06:17 AM
Senior Member
Latest Blog:
None

 
Join Date: 04-28-04
Location: New Jersey, USA
Posts: 170
iTrader: 0 / 0%
Quote:
Originally Posted by SN3
I will never use dreamweaver.

haha software snobbery, I love it. you'd rather setup a webserver than install a simple program that will do what you want, for no other reason than simple snobbery. pretty silly
__________________
Dark Matter - HPLC
 
Reply With Quote
  #11 (permalink)  
Old 10-06-2004, 08:29 AM
SVB's Avatar
SVB SVB is offline
Contributing Member
Latest Blog:
None

 
Join Date: 10-13-03
Posts: 3,115
iTrader: 0 / 0%
Quote:
Originally Posted by hatchet
www.foxserv.net is what I've always used.. comes as a package with apache, php, mysql, etc.. don't let the current site scare you - click on the old support forum which has quite a bit of information and development stuff.
Me too, its a great setup.
__________________
Body Slam Awards Appreciating pro wrestling - follow us on our Facebook page
 
Reply With Quote
  #12 (permalink)  
Old 10-06-2004, 11:59 AM
samer's Avatar
Contributing Member
Latest Blog:
None

 
Join Date: 10-13-03
Posts: 1,962
iTrader: 0 / 0%
I Use easyPHP, it installs PHP and MySQL - Great for tests.
you can then run the webserver using http://localhost/ or http://127.0.0.1/
 
Reply With Quote
  #13 (permalink)  
Old 10-06-2004, 12:20 PM
SN3's Avatar
SN3 SN3 is offline
Senior Member
Latest Blog:
None

 
Join Date: 10-13-03
Location: Work, USA
Posts: 2,795
iTrader: 0 / 0%
Thanks guys! I'll try FixServ.
__________________
[affiliate link removed. V7N Moderator]
 
Reply With Quote
  #14 (permalink)  
Old 10-06-2004, 01:25 PM
LazyJim's Avatar
v7n Mentor
Latest Blog:
None

 
Join Date: 10-13-03
Location: UK
Posts: 2,469
iTrader: 0 / 0%
Quote:
Originally Posted by Dark_Matter
haha software snobbery, I love it. you'd rather setup a webserver than install a simple program that will do what you want, for no other reason than simple snobbery. pretty silly


Apache = free!
__________________

-LJ-

My advice is to look at each case individually, with an informed mind and an appropriately balanced and objective viewpoint.

Web Design and Development, Ipswich, UK.
My deviantArt
 
Reply With Quote
  #15 (permalink)  
Old 10-06-2004, 01:32 PM
SN3's Avatar
SN3 SN3 is offline
Senior Member
Latest Blog:
None

 
Join Date: 10-13-03
Location: Work, USA
Posts: 2,795
iTrader: 0 / 0%
Works great! Thanks!
__________________
[affiliate link removed. V7N Moderator]
 
Reply With Quote
  #16 (permalink)  
Old 10-06-2004, 01:38 PM
Senior Member
Latest Blog:
None

 
Join Date: 04-28-04
Location: New Jersey, USA
Posts: 170
iTrader: 0 / 0%
Quote:
Originally Posted by LazyJim


Apache = free!
u got me there
__________________
Dark Matter - HPLC
 
Reply With Quote
Go Back   Webmaster Forum > Web Development > Coding Forum

Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 Off
Pingbacks are Off
Refbacks are Off



V7N Network
Get exposure! V7N I Love Photography V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 06:47 PM.
Powered by vBulletin
Copyright © 2000-2013 Jelsoft Enterprises Limited.
Copyright © 2003 - 2013 Escalate Media LP




Search Engine Optimization by vBSEO 3.6.0 RC 2 ©2011, Crawlability, Inc.