Christian Belisle a �crit :
> 
> Pascal Terjan wrote:
> >
> > When updating php mysql and openldap here is what happens:
> >
> [...]
> >
> > Coudn't you avoid restarting apache agter each RPM ? I don't know RPM
> > mechanisms so I don't know if it can be done...
> 
> No, the only way we could do that is to remove the httpd restart from
> packages, but php & extensions need it.
> 
> Chris

OK
I thought about that way to do it faster next time:
/etc/rc.d/init.d/httpd stop && urpmi -a php && /etc/rc.d/init.d/httpd
start

But it's stupid because my apache is stopped during all the download ;)
The best thing would be:
- Download all the packages
- Stop Apache
- Install the packages
- Start Apache

But I can't see any way of doing it with urpmi :(

So the last solution:
hope that PHP packages are not updated too often ;)

Reply via email to