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

10-05-2004, 03:41 PM
|
 |
Senior Member
Latest Blog: None
|
|
Join Date: 10-13-03
Location: Work, USA
Posts: 2,795
|
|
|
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]
|

10-05-2004, 03:55 PM
|
|
Senior Member
Latest Blog: None
|
|
Join Date: 04-28-04
Location: New Jersey, USA
Posts: 170
|
|
|
you can load it in dreaweaver and preview it in your browser
|

10-05-2004, 04:19 PM
|
 |
Senior Member
Latest Blog: None
|
|
Join Date: 10-13-03
Location: Work, USA
Posts: 2,795
|
|
|
I will never use dreamweaver.
__________________
[affiliate link removed. V7N Moderator]
|

10-05-2004, 04:29 PM
|
|
Junior Member
|
|
Join Date: 05-19-04
Posts: 13
|
|
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
|
 |
Senior Member
Latest Blog: None
|
|
Join Date: 08-03-04
Posts: 526
|
|
|
Yea, I would recommend Apache as well.
BTW - Post #100!
|

10-05-2004, 05:51 PM
|
 |
Senior Member
Latest Blog: None
|
|
Join Date: 10-11-03
Posts: 833
|
|
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
|
 |
Senior Member
Latest Blog: None
|
|
Join Date: 06-20-04
Location: Ontario
Posts: 1,758
|
|
|
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
|
 |
Senior Member
Latest Blog: None
|
|
Join Date: 05-12-04
Posts: 302
|
|
|
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
|
 |
Contributing Member
Latest Blog: None
|
|
Join Date: 07-08-04
Location: India
Posts: 328
|
|
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
|
|
Senior Member
Latest Blog: None
|
|
Join Date: 04-28-04
Location: New Jersey, USA
Posts: 170
|
|
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
|
 |
Contributing Member
Latest Blog: None
|
|
Join Date: 10-13-03
Posts: 3,115
|
|
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
|
 |
Contributing Member
Latest Blog: None
|
|
Join Date: 10-13-03
Posts: 1,962
|
|
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
|
 |
Senior Member
Latest Blog: None
|
|
Join Date: 10-13-03
Location: Work, USA
Posts: 2,795
|
|
|
Thanks guys! I'll try FixServ.
__________________
[affiliate link removed. V7N Moderator]
|

10-06-2004, 01:25 PM
|
 |
v7n Mentor
Latest Blog: None
|
|
Join Date: 10-13-03
Location: UK
Posts: 2,469
|
|
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
|
 |
Senior Member
Latest Blog: None
|
|
Join Date: 10-13-03
Location: Work, USA
Posts: 2,795
|
|
|
Works great! Thanks!
__________________
[affiliate link removed. V7N Moderator]
|

10-06-2004, 01:38 PM
|
|
Senior Member
Latest Blog: None
|
|
Join Date: 04-28-04
Location: New Jersey, USA
Posts: 170
|
|
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 06:47 PM.
Powered by vBulletin Copyright © 2000-2013 Jelsoft Enterprises Limited.
Copyright © 2003 - 2013 Escalate Media LP
|
|
|