views:

150

answers:

1

I asked this question on serverfault but I didn't get any response. I try here...

I developped a site on my web server at home.

When I modify the translation files, I have to restart the web server Apache.

/etc/init.d/httpd graceful

Easy...

Suppose that my site is hosted on shared host.

Suppose now I need to modify the translation files.

I can't restart the server...

How do you use gettext in this context ?

Are you allow to restart the server with the option graceful only ?

Does the share host restart the server once a day to resolve this kind of problem ?

How do you work with such constraints ?

+1  A: 

the post here on the gettext function has some information for making gettext work without restarting apache:

http://www.php.net/manual/en/function.gettext.php#58310

John Boker