Re: [PHP] PHP DNS resolving in chroot-ed environment

2010-09-27 Thread Per Jessen
Georgi Hristozov wrote: > Hello, > > I'm running a Gentoo-hardened box with PHP 5.2.14-pl0-gentoo (Suhosin > included) and Apache 2.2.16. mod_php is running in a chroot, using > mpm_peruser. Everything works OK, except the PHP DNS resolving, which > I need to access HTTP resources. It fails with

[PHP] PHP DNS resolving in chroot-ed environment

2010-09-27 Thread Georgi Hristozov
Hello, I'm running a Gentoo-hardened box with PHP 5.2.14-pl0-gentoo (Suhosin included) and Apache 2.2.16. mod_php is running in a chroot, using mpm_peruser. Everything works OK, except the PHP DNS resolving, which I need to access HTTP resources. It fails with both the curl and http extensions. W