使用MAMP和WordPress NIGHTMARE的测试站点的Dreamweaver CS6站点设置 [英] Dreamweaver CS6 Site Setup for Test Site with MAMP and WordPress NIGHTMARE

查看:96
本文介绍了使用MAMP和WordPress NIGHTMARE的测试站点的Dreamweaver CS6站点设置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直试图在Dreamweaver CS6 IDE(我讨厌)上设置一个测试站点服务器,以试用与动态相关的文件主题化功能。我已经尝试了几个小时,并且看了更多的教程和博客,而不记得尝试建立一个测试站点,以便我可以简单地试用此功能,但似乎无济于事。

I have been trying to set-up a test site server on Dreamweaver CS6 IDE (which I hate) to try out the Dynamically-related files theming feature. I have been attempting to do this for hours and looked at more tutorials and blogs than I can remember attempting to set-up a test site so that I can simply try out this feature but nothing seems to work.

在站点框中,我有:


站点名称:测试站点< br>
本地站点文件夹:users / myname / Sites / wordpress /

Site Name: test site
Local Site Folder: users/myname/Sites/wordpress/

在我拥有的服务器上:


服务器名称:Apache

使用以下方式连接:本地/网络

服务器文件夹:users / myname / Sites / wordpress /

Web URL: http:// localhost:80 / wordpress /

高级:

服务器型号:PHP MySQL

Server Name: Apache
Connect using: Local/Network
Server Folder: users/myname/Sites/wordpress/
Web URL: http://localhost:80/wordpress/
Advanced:
Server Model: PHP MySQL

但是我收到了一条错误消息:

Yet I am receiving the an Error message:


与动态相关的文件无法解析,因为站点
的定义不正确正确的佛r这台服务器

Dynamically-related files could not be resolved because the site definition is not correct for this server

这对我来说毫无意义。谁能解释我在做什么错?

Which makes no sense to me. Can anyone explain what am I doing wrong?

推荐答案

以某种方式将PHP语法转换为HTML,以便可以轻松对其进行编辑...

"i was under the impression that this feature would somehow convert PHP syntax into HTML so that it can be easily edited..."

上帝的名字给您的印象是什么? PHP是服务器端脚本;浏览器与服务器,数据库和HTML进行通信的方式是浏览器与客户端(您)进行通信并以人类可以使用的形式呈现事物的方式。没有转换,因为它们是两种普遍不同的语言,每种语言都具有独特的功能。

What in God's name gave you that impression? PHP is server-side scripting; a way for the browser to communicate with the server and database and HTML is a way for the browser to communicate with the client (you) and render things in a form which is usable by humans. There is no "conversion", as they are two universally different languages, each serving unique functions.

为了轻松地编辑 PHP,唯一的解决方案是学习 PHP脚本和语法。

In order to "easily edit" PHP, the only solution is to learn PHP scripting and syntax.

MAMP的唯一目的是在本地计算机上安装Apache服务器,PHP和mySQL,以用于服务器端/数据库框架(如WordPress)来存储信息并与之通信。本质上就像在本地计算机上创建一个小型Web主机一样,允许您检查基于PHP的应用程序的功能。

MAMP's sole purpose is to install an Apache server, PHP, and mySQL on your local computer for a server-side/database framework, such as WordPress, to store information and communicate with. Essentially like creating a mini web-host on your local machine, allowing you to check the functionality of PHP based applications.

这篇关于使用MAMP和WordPress NIGHTMARE的测试站点的Dreamweaver CS6站点设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆