From 7030e8f53b1db1bc12c695bc0efc309c339afc2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Frering?= Date: Fri, 8 Mar 2013 12:50:46 +0100 Subject: [PATCH] Mention the one-line command to enable an extension in the blog post. --- blog/_posts/2013-03-08-preinstalled-php-extensions.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/blog/_posts/2013-03-08-preinstalled-php-extensions.md b/blog/_posts/2013-03-08-preinstalled-php-extensions.md index ff8d82b2..81f88c01 100644 --- a/blog/_posts/2013-03-08-preinstalled-php-extensions.md +++ b/blog/_posts/2013-03-08-preinstalled-php-extensions.md @@ -49,6 +49,11 @@ And myconfig.ini: # some other mongo specific configuration directives # or general custom PHP settings... +If adding a full configuration file looks overkill regarding your needs, you +can also use this one-line command in your before_script: + + echo "extension = .so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini + For more information, please refer to the [PHP extensions section](http://about.travis-ci.org/docs/user/languages/php/#PHP-extensions) of the documentation!