【发布时间】:2012-11-13 06:31:08
【问题描述】:
我正在尝试使用此 repo 在 Dotcloud 上部署 Wordpress,但日志中出现错误:
18:59:19: [www.0] Running postinstall script...
18:59:21: [www.0] PHP Fatal error: Call-time pass-by-reference has been removed in /home/dotcloud/rsync-1353715101184/dotcloud-scripts/feed-wp-config.php on line 86
查看line 86 in feed-wp-config.php,内容如下:
$content = preg_replace('/(define\(\'' . $property . '\', \')(.*)(\'\);)/', '${1}' . $value . '${3}', $content, -1, &$count);
当我进入 Wordpress 起始页时,它说:“似乎没有 wp-config.php 文件。在我们开始之前我需要这个。”
我已经cross-posted this to the repo's Github issue tracker,但由于还没有回复,所以我也将其发布在这里,希望有人知道答案。
【问题讨论】: