Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit 7030e8f53b1db1bc12c695bc0efc309c339afc2e 1 parent 8d61e9a
@loicfrering loicfrering authored
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!
Please sign in to comment.
Something went wrong with that request. Please try again.