Itay Moav -Malimovka
Itay Moav -Malimovka

Reputation: 53603

What PHP needs to work with gettext?

I have a linux server with PHP. I do not see gettext in the PHPINFO output, so I assume gettext is not enabled or included in the PHP. I have installed the gettext lib on the machine.
What other steps do I need to do to enable gettext in my PHP?

I read the php.net documentation, the only entry there writes about building PHP with gettext. Is this the only way, or is there another simpler way?

Upvotes: 1

Views: 4065

Answers (2)

Cfreak
Cfreak

Reputation: 19309

Your linux distrubution likely has a pre-compiled package for it (RPM on Redhat and derivative or DEB on Debian and its derivatives). Typically you'll need to install the package and you'll have to restart apache if you're using mod_php (as opposed to running it in CGI mode)

Upvotes: 1

Related Questions