Welcome! Log In Create A New Profile

Advanced

php-fpm and chroot on linux.

Piotr Karbowski
July 29, 2010 05:20PM
Hi nginx-en ml.

This is not exactly nginx issue, but lets say this is nginx related thing.

php-fpm and chroot - It is working for me good, I haven't tested
performance yet but there is two things what I need fix before I can
really use it.

First issue: php in chroot can't resolve names. Even puting
/etc/resolv.conf in chroot isn't solution.

2nd issue: mysqld socket. If I want connect to 'localhost' it using
unix:///var/run/mysqld.socket which is really smart and I like it (I
want use socket if I can.). it not work, because in chrooted env there
is no mysqld socket. There is any better way than mount -o bind 'run'
dir into each chroot's root?

Sorry for posting it on nginx list but this is best place to ask in my
opinion.

-- Piotr.

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

php-fpm and chroot on linux.

Piotr Karbowski July 29, 2010 05:20PM

Re: php-fpm and chroot on linux.

Jérôme Loyet July 29, 2010 05:46PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 171
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready