| Coding Forum Problems with your code? Let's hear about it. |
10-05-2004, 03:41 PM
|
#1 (permalink)
|
|
Inactive
Join Date: 10-13-03
Location: Work, USA
Posts: 5,381
Latest Blog: None
|
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?
|
|
|
10-05-2004, 03:55 PM
|
#2 (permalink)
|
|
Inactive
Join Date: 04-28-04
Location: New Jersey, USA
Posts: 316
Latest Blog: None
|
you can load it in dreaweaver and preview it in your browser
|
|
|
10-05-2004, 04:19 PM
|
#3 (permalink)
|
|
Inactive
Join Date: 10-13-03
Location: Work, USA
Posts: 5,381
Latest Blog: None
|
I will never use dreamweaver.
|
|
|
10-05-2004, 04:29 PM
|
#4 (permalink)
|
|
Inactive
Join Date: 05-19-04
Posts: 1
Latest Blog: None
|
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
|
|
|
10-05-2004, 05:27 PM
|
#5 (permalink)
|
|
Senior Member
Join Date: 08-03-04
Posts: 1,077
Latest Blog: None
|
Yea, I would recommend Apache as well.
BTW - Post #100!
|
|
|
10-05-2004, 05:51 PM
|
#6 (permalink)
|
|
v7n Mentor
Join Date: 10-11-03
Posts: 1,148
Latest Blog: None
|
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.
|
|
|
10-05-2004, 08:05 PM
|
#7 (permalink)
|
|
Inactive
Join Date: 06-20-04
Location: Ontario
Posts: 3,359
Latest Blog: None
|
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.
|
|
|
10-05-2004, 08:36 PM
|
#8 (permalink)
|
|
Inactive
Join Date: 05-12-04
Posts: 520
Latest Blog: None
|
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?
|
|
|
10-06-2004, 12:50 AM
|
#9 (permalink)
|
|
Inactive
Join Date: 07-08-04
Location: India
Posts: 445
Latest Blog: None
|
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
|
|
|
10-06-2004, 06:17 AM
|
#10 (permalink)
|
|
Inactive
Join Date: 04-28-04
Location: New Jersey, USA
Posts: 316
Latest Blog: None
|
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
|
|
|
10-06-2004, 08:29 AM
|
#11 (permalink)
|
|
Inactive
Join Date: 10-13-03
Posts: 7,481
Latest Blog: None
|
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.
|
|
|
10-06-2004, 11:59 AM
|
#12 (permalink)
|
|
Inactive
Join Date: 10-13-03
Location: Lebanon
Posts: 4,099
|
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/
|
|
|
10-06-2004, 12:20 PM
|
#13 (permalink)
|
|
Inactive
Join Date: 10-13-03
Location: Work, USA
Posts: 5,381
Latest Blog: None
|
Thanks guys! I'll try FixServ.
|
|
|
10-06-2004, 01:25 PM
|
#14 (permalink)
|
|
Moderator
Join Date: 10-13-03
Location: UK
Posts: 2,819
Latest Blog: None
|
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!
|
|
|
10-06-2004, 01:32 PM
|
#15 (permalink)
|
|
Inactive
Join Date: 10-13-03
Location: Work, USA
Posts: 5,381
Latest Blog: None
|
Works great! Thanks!
|
|
|
10-06-2004, 01:38 PM
|
#16 (permalink)
|
|
Inactive
Join Date: 04-28-04
Location: New Jersey, USA
Posts: 316
Latest Blog: None
|
Quote:
|
Originally Posted by LazyJim
Apache = free!
|
u got me there
|
|
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -7. The time now is 04:51 AM.
© Copyright 2008 V7 Inc
|