On Mon, Jan 09, 2006 at 10:02:33PM +0100, LiRul wrote:
 
> Ha php-ben hasznalom a gethostbyname() fv-t, akkor az nem oldja fel a
> nevet, csak abban az esetben, hogy ha a paramterben atadott host-ot
> felsorolom a chroot/etc/hosts fileban. De a DNS-t mar nem kerdezi meg.

Megszuletett a megoldas (httpd.conf-ba):

LoadFile /lib/libnss_dns.so.2

-- 
  LiRul                            http://www.hixsplit.hu/
  Un*x + HIX = hixsplit   Lehet, de nem erdemes nelkule...
_________________________________________________
linux lista      -      [email protected]
http://mlf2.linux.rulez.org/mailman/listinfo/linux

válasz