On Thu, 2005-05-12 at 13:41 +0200, [EMAIL PROTECTED] wrote:
> Package: php4-imap
> Version: 4.3.10-13
> 
> When installing php4-imap, the line
> 
> extension=imap.so
> 
> is added to
> 
> /etc/php4/apache2/php.ini
> 
> which is correct. But this will come into effect only after doing a reload
> of the Apache webserver, which doesn't happen automatically.
> 
> Maybe this should be added to the postinstall script?
> 

Please don't.  First of all, php4-imap has no knowledge of webservers;
it doesn't know or care about whether libapache-mod-php4 is in use,
libapache2-mod-php4, or some other php4 SAPI.  There could even be a
long-running php daemon running, using the CLI SAPI.  The individual
php4 module packages know nothing of these things.

Second, given the fragile nature of apache and some of its modules,
automatically restarting it is asking for trouble.  This should be done
by the admin, or during a webserver upgrade; there's no sense doing it
for a trivial php4 module addition.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to