Thank you for your answer. I did use apachectl but after your email I followed your suggestions and it works. I have notice now that the command apachectl doesn't work at all now, when I read your email I thought that it wouldn't work for the first time only. I'm wondering if the apachectl command will end being deprecated if it doesn't allow apache to restart without us wondering if it has to pre load some libraries or not. Have a good day
----- Mail original ----- > De : Stuart Henderson <[email protected]> > @ : [email protected] > Cc : > Envoyi le : Mardi 8 mai 2012 16h06 > Objet : Re: Apache won't start after pecl-imagick installation > > On 2012-05-08, Mik J <[email protected]> wrote: >> Hello, >> >> >> I'm reinstalling my system from 4.9 to 5.1 >> I have installed >> pecl-imagick and stopped/started Apache but I have a seg fault (core > dumped). >> If I uninstall this package Apache stops/starts nicely. >> >> I have read this page >> http://www.openbsd.org/faq/upgrade50.html#Pkgup >> The last point talks about my >> problem and advices to add in /etc/login.conf >> httpd:\ >> :setenv=LD_PRELOAD=/usr/lib/libpthread.so:\ >> :tc=daemon: >> >> This doesn't help, >> I still have the same problem with Apache. > > How did you start Apache? You will need to use "/etc/rc.d/httpd > restart" > (or reboot) so it's started from the system rc scripts for this to take > effect, "apachectl" does not handle this. > >> Also /usr/lib/libpthread.so doesn't >> exist so I replaced it with /usr/lib/libpthread.so.13.3 but still no > success. > > No the instructions are correct, use /usr/lib/libpthread.so

