Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Configuring Testing Server

New Here ,
Jan 28, 2008 Jan 28, 2008
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/
TOPICS
Server side applications
466
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jan 28, 2008 Jan 28, 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


Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jan 28, 2008 Jan 28, 2008
LATEST
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.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines