[mod_python] libxml2 and libxslt in mod_python

Robert Synnott rsynnott at gmail.com
Wed Aug 2 20:36:58 EDT 2006


On 8/3/06, Diego Guillen <adsldieg at tpg.com.au> wrote:
> Thanks Graham, for pointing to the answer.
> Yes, I was not restarting Apache. [I didn't consider it necessary,
> because normally in PHP5 I don't need to do this]
> I'll read what you suggest.
> Thanks again,
>    Diego

You still probably shouldn't NEED to restart it; there are other ways.
Your handler will be reloaded anyway. If you have an arrangement like:
if DEBUG:
    reload(mymodule1)
    reload(mymodule2)

in it, and similar for any of your own modules only imported from
those modules, you should be okay; when the handler is reloaded
everything else will be. You can force handler reload by doing 'touch
myhandler.py'.

Actually, this or something better is probably covered in Graham's document.
Rob


More information about the Mod_python mailing list