Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6151035
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T19:42:38+00:00 2026-05-23T19:42:38+00:00

I want to start using gettext to handle my translations on web projects (PHP

  • 0

I want to start using gettext to handle my translations on web projects (PHP 5). Since it is a widely used standard with a good reputation it seems to be the best choice.

However, I’m also hearing things about server incompatibly and it being non-thread-safe. What does this mean for my projects that use it then? Since I build things that many people use, it’s very important that my code works.

Are we talking about minor problems (like people still using PHP 4) or major problems like distribution and installation of gettext on websevers being low?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T19:42:39+00:00Added an answer on May 23, 2026 at 7:42 pm

    Threads problem only apply if one uses embedded PHP (Apache’s mod-php for example) and runs server that uses threads (like Apache server with worker-mpm).

    So – thread safety issue does not apply to you if:

    1. you use NGINX server(it doesn’t use threads.)
    2. You use Apache (with either threaded MPM or not) and PHP in fastcgi mode
    3. You use Apache with non-threaded MPM (as prefork-MPM) and PHP in mod-php mode.

    So – most people with default Apache install shouldn’t worry about gettext not being thread safe, as default apache’s install in most distro’s uses non-threaded prefork-MPM!

    P.S. also – keep in mind that Apache on Windows is threaded.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to start using Python for small projects but the fact that a
I want to start using memcache with PHP (on Ubuntu 9.10). There are lots
I want to start using version control properly for my own personal projects written
I want to start using OAuth to call my web server apis. Preferably I
I have an MVC3 web app to which I want to start using whole
I want to start using .NET 3.5 features in an app that is currently
I want to start using Nunit (finally), I am using Visual Studio 2008. Is
I want to start using Bing for a project which will include working out
I'm working with a database and I want to start using LINQ To SQL
So, I want to start using virtualenv this year. I like the no-site-packages option,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.