Skip to main content
Participant
January 29, 2008
Question

Configuring Testing Server

  • January 29, 2008
  • 2 replies
  • 466 views
I am running Mac OS X 10.5.1 with MAMP installed and running. Using Safari, I can successfully access dynamic PHP pages located in my htdocs folder. I am trying to set up a Testing Server in DW CS3. In the Basic Site Definition dialogs for the Testing Server, I set the following:

- Selected Edit and test locally (my testing server is on this computer)"

- For Where on your computer to you want to store your files, I entered: "MacintoshHD"Applications:MAMP:htdocs". (This is where I can successfully run pages with Safari.)

- URL to browse to the root of your site: " http://localhost:8888/"

When I click the Test URL button, I get the following error:

"Dreamweaver cannot use the prefix you entered to display live data. Please double-check your site configuration or click Help for more information on how to correct this porblem (HTTP Error: 0)

Can anyone tell me what is going on here? Thanks in advance.

I am using the following URL in the site definition: http://localhost:8888/PHPizabiTest/
This topic is closed to new replies. Start a new post to keep the conversation going.

2 replies

January 29, 2008
Local Info
http address = http://localhost/

Testing Server
PHP/MySQL
Local/Network
Macintosh HD:Applications:MAMP:htdocs:name_of_folder_for_website
http://localhost:8888/name_of_folder_for_website/

To view a page, the URL will look like http://localhost:8888/name_of_folder_for_website/mypage.php


January 29, 2008
I should mention, you don't need MAMP since you have Leopard. Leopard comes with Apache 2 and PHP 5 pre installed (as well as sqlite). Turning on Apache is as simple as selecting web sharing under system pref > sharing and all of the sites work great in the Sites folder. Very easy to setup. If you need to customize php, use Finder > Go > Folder > and look for the /etc folder if you feel the need. MySQL has some great GUI tools that makes working with MySQL very easy... no real need for phpadmin. Anyway, just food for thought for Mac users.