Results from the most recent live auction are here .
20 members in the live chat room. Join Chat !
04-05-2006, 07:51 AM
· #1 DomainSeeking.com
Name: DomainSeeking.com
Location: Boston
Join Date: Sep 2005
Posts: 2,338
NP$: 31.70 (
Donate )
Getting my PHP to work locally -- Dreamweaver 4 So I'm just starting to put PHP in my webpages ... and when I preview the webpages w/Dreamweaver 4 the PHP stuff doesn't work. If I upload it to my webhost and goto the page it works fine. What do I need to get my PHP code to work locally? Is there a Dreamweaver 4 extension for this? Thanks!
Rep for help!
04-05-2006, 08:03 AM
· #2 A Wealth of Knowledge
Join Date: Aug 2004
Posts: 3,787
NP$: 2800.20 (
Donate )
You have to have PHP installed on your computer. I run
XAMPP locally and it works great as an all in one resource.
-Steve
Last edited by stscac : 04-05-2006 at 08:15 AM .
04-05-2006, 08:13 AM
· #3 DomainSeeking.com
Name: DomainSeeking.com
Location: Boston
Join Date: Sep 2005
Posts: 2,338
NP$: 31.70 (
Donate )
Originally Posted by stscac You have to have PHP installed on your computer. I run
XAMPP locally and it works great as an all in one resource.
-Steve
I'll have to check it out ... that link is dead, though. I'll just search for it. Thanks!
04-05-2006, 08:16 AM
· #4 A Wealth of Knowledge
Join Date: Aug 2004
Posts: 3,787
NP$: 2800.20 (
Donate )
I edited the link. It should work now. Hope its al alternative solution for you. Make sure you place the files in the htdocs folder.
Either use
http://localhost/ or
http://127.0.0.1 to access your files once they are in the folder.
-Steve
04-05-2006, 08:32 AM
· #5 DomainSeeking.com
Name: DomainSeeking.com
Location: Boston
Join Date: Sep 2005
Posts: 2,338
NP$: 31.70 (
Donate )
Another dumb question ... where's the htdocs folder? I don't see it off Dreamweaver 4 or my local website directories.
04-05-2006, 10:45 AM
· #6 A Wealth of Knowledge
Join Date: Aug 2004
Posts: 3,787
NP$: 2800.20 (
Donate )
It depends on where you installed xampp. I installed it to my C:\, so it appears as C:\xampp\htdocs\
If you're not sure where you installed it, do a file search and include folders.
-Steve
04-05-2006, 11:01 AM
· #7 NamePros Member
Name: Ryan
Location: Central PA
Join Date: Apr 2006
By default apache is installed in C:/Program Files/Apache HTTP Server/
you can find the htdocs folder in there. Also make sure you have PHP and the .htaccess file setup right.
http://www.php-mysql-tutorial.com has a great article on how to set it all up.
04-05-2006, 02:24 PM
· #8 NamePros Regular
Location: mysitememberships.com
Join Date: Jul 2005
Posts: 925
NP$: 4800.90 (
Donate )
also, i use EasyPHP, great software, really easy to use. google it for the exact link, cant remember it off the top of my head.
04-06-2006, 12:43 PM
· #9 DomainSeeking.com
Name: DomainSeeking.com
Location: Boston
Join Date: Sep 2005
Posts: 2,338
NP$: 31.70 (
Donate )
Thanks everyone, checkin' all this stuff out now!
04-06-2006, 02:34 PM
· #10 DNOA Member
Location: Iowa
Join Date: Jun 2004
Posts: 655
NP$: 13.10 (
Donate )
I use XAMP also....i just edit all the files in notepad/dreamweaver and then save them to htdocs and then wallah i open it up in the browswer...works like a charm
all local
__________________
Want to prove yourself?
CHECK OUT MY DOMAINS!
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