Jump to content

Recommended Posts

Posted

...I'm wondering how hard it would be to install PHP on my computer. Reason? I would like to be able to review my website as I'm building it without being connected to the internet. Also...I'm sure I waste tons of my bandwidth.

 

Is installing PHP the best direction...or is there another way to preview PHP files from my computer?

 

Thanks!

Posted

**EDIT** Nevermind...I got it working. I have no idea what I did that I hadn't already tried a thousand times...but it's working!!! woooot

 

okay...I got phpDev installed last night, and I even got it to work for previewing my site pages...for the most part.

 

I put my site in the phpdev/www folder in its own subdirectory. So, locally, the site is located at c:\phpdev\www\I AM A SPAMMER. I will also be making this change on my TCH server (site at public_html/I AM A SPAMMER).

 

I've managed to get everything to work except the following:

 

1. Images located in my header and footer files show up fine...images in the body of pages located in subdirectories do not show up when I preview the page from DWMX. Example:

On my computer, file is located at:

c:\phpdev\www\I AM A SPAMMER\gallery

 

File contains image with image source written as:

"images/imagename.jpg"

 

Image is located at:

c:\phpdev\www\I AM A SPAMMER\gallery\images

 

2. It doesn't load the rollover images for my navbar.

 

3. Links do not work when I'm previewing a page.

 

I'm sure I just have something all screwed up. Installing phpDev was a snap...but instructions from that point were sparce. And I know NOTHING about Apache!! So, maybe I just have some tweaking to do???

 

Thanks!!

Posted

Sorry guys...been too busy to check forums in a day or two! The problem I was having with seeing certain files/graphics and not others had to do with the settings for the Dreamweaver Testing Server.

 

I made folders for each of my sites inside the phpDev /www folder. Remote testing server settings for DreamweaverMX then had to be:

 

Testing Server Folder:

c:\phpdev\www\
Url Prefix:
(MMD being the site folder I created)

 

Links and image source tags then worked fine and no changes need to be made to my remote folder setup. I just started making too many changes without proper, patient troubleshooting first!!!

 

I am now completely happy with phpDev!!! I spent so much time uploading files to preview minor changes that it was pathetic. Now my only problem is forgetting to startup Apache. If that's the only one I have for a while, I'll sure be happy!!!!!!

 

Thanks for all the help and great advice!!!

Posted

One more thing I forgot about...when I got the settings to work for previewing through phpDev, the Live Data View in DWMX would not/will not work. I really don't care, though. I would rather have the full preview capabilities that Dreamweaver's attempt at it.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...