Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

PHP Fatal error when running postinstall #2

natea opened this Issue Nov 24, 2012 · 2 comments


None yet
3 participants

natea commented Nov 24, 2012

I'm trying to deploy Wordpress to Dotcloud using your scripts, and see this error in the log:

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 is:

$content = preg_replace('/(define\(\'' . $property . '\', \')(.*)(\'\);)/', '${1}' . $value . '${3}', $content, -1, &$count);

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."

Any ideas?

@qpleple qpleple closed this in 51e95d8 Apr 8, 2013


qpleple commented Apr 8, 2013

Thanks guys!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment