Permalink
Browse files

Mention the one-line command to enable an extension in the blog post.

  • Loading branch information...
1 parent 8d61e9a commit 7030e8f53b1db1bc12c695bc0efc309c339afc2e @loicfrering loicfrering committed Mar 8, 2013
Showing with 5 additions and 0 deletions.
  1. +5 −0 blog/_posts/2013-03-08-preinstalled-php-extensions.md
View
5 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 = <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!

0 comments on commit 7030e8f

Please sign in to comment.