At the moment I'm figuring out how to install php gettext on Ubuntu 14.04,

the documentation tells me I should use --with-gettext http://php.net/manual/en/gettext.installation.php#119139

and I wonder how am I using the command parameter(flag) I'm pretty new to usage of gettext and installation of it.

What I know already is that I need to enable it in the php.ini file


and add the gettext.ini file with the same line.

I have tried sudo apt-get install php-gettext also.

Any help is appreciated :)



PHP gettext extension is compiled either as builtin module (in case of php5 packages) or included in phpX.Y-common package as dynamic extension and loaded by default (in case of new coinstallable PHP packages).

There's no need to compile it yourself if you are using prepackaged PHP.

  • is that the same with CircleCi's Ubuntu builds ? – Leo May 19 '16 at 15:30
  • I have no idea about CircleCi's builds, you should ask them. You should explicitly write what packages and environment you are using the question. But why don't you try yourself if the gettext() is available. – oerdnj May 19 '16 at 15:38
  • And if CircleCi doesn't use Ubuntu packages, then your question is off-topic. – oerdnj May 19 '16 at 15:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.