title: "Call-time pass-by-reference has been removed"
body: <p>I'm trying to deploy Wordpress on Dotcloud using this repo but there is an error that appears in the logs:</p>
  
  <pre><code>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
  </code></pre>
  
  <p>Looking at <a href="https://github.com/qpleple/wordpress-on-dotcloud/blob/master/dotcloud-scripts/feed-wp-config.php#L86" rel="nofollow">line 86 in feed-wp-config.php</a>, it reads:</p>
  
  <pre><code>$content = preg_replace('/(define\(\'' . $property . '\', \')(.*)(\'\);)/', '${1}' . $value . '${3}', $content, -1, &amp;$count);
  </code></pre>
  
  <p>When I go to the Wordpress start page it says, "There doesn't seem to be a wp-config.php file. I need this before we can get started."</p>
  
  <p>I've <a href="https://github.com/qpleple/wordpress-on-dotcloud/issues/2" rel="nofollow">cross-posted this to the repo's Github issue tracker</a>, but as there hasn't yet been a response I'm posting it here as well in hopes that someone knows the answer.</p>