Re: Running Apache chroot + phpldapadmin

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]




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

[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux