Re: Running Apache chroot + phpldapadmin

From: Date: Wed, 31 Oct 2007 15:57:19 +0000
Subject: Re: Running Apache chroot + phpldapadmin
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-18331@lists.php.net to get a copy of this message
On Oct 31, 2007, at 11:46 AM, Gustavo Vieira Oliveira wrote:
Hi! i need to know how i can run apache 2 with php + phpldapadmin in a chroot jail. It works outside the chroot jail but not inside. It gives me this error message: Your install of PHP appears to be missing GETTEXT support. GETTEXT is used for language translation. Please install GETTEXT support before using phpLDAPadmin. (Dont forget to restart your web server afterwards). Any help, please?
If it's like most cases running things in a chroot environment, you have libraries that are referenced that lie outside the chroot limits. You can go through the tedious process of trying to find them all but, if you have the disk space, you might want to copy the entire root /bin, /lib and /etc to the changed root directory. You can then minimize the /etc information so it doesn't give away any information like users, groups and passwords. It's a similar problem to running ftp in a chroot and not having "ls" support if you've ever had to deal with that. Matthew Marino IT Manager CSW Inc. 45 Tyburski Road Ludlow MA 01056 (413)589-1311

« previous php.install (#18331) next »