【发布时间】:2014-04-03 20:30:37
【问题描述】:
我目前正在使用 rackspace cloudsites,但我的 wordpress 配置未连接。
这里是错误:
PHP 解析错误:语法错误,意外的“!”在 /mnt/stor7-wc1-dfw1/672237/www.site.com/web/content/wp-config.php 第 28 行
第 28 行似乎是密码字段:
// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define('DB_NAME', ' 672207_wordpress');
/** MySQL database username */
define('DB_USER', '672207_wpusers');
/** MySQL database password */
define('DB_PASSWORD', ‘!Password’);
/** MySQL hostname */
【问题讨论】:
-
您有错误的引号
‘!Password’更改为'!Password'也请不要在您的问题中使用原始凭据 -
我喜欢这里的语法突出显示使它比在使用的编辑器中更明显。