Re: Running php cli when php-fpm uses chroot

2019-04-14 Thread Joel Carnat
On Fri 12/04 15:37, Éric Jacquot wrote: > Hi, > > Le Friday 12 April 2019 à 11:53 +0200, Joel Carnat a écrit : > > Hi, > > > > Is there a better way to handle chroot environnement when running php > > scripts from the cli? > > > > According to pkg-readme

Re: Running php cli when php-fpm uses chroot

2019-04-12 Thread Stuart Henderson
On 2019-04-12, Joel Carnat wrote: > Hi, > > When php-fpm is configured to use chroot, it seems the php(1) cli still > tries to work unchrooted. So when running maintenance php scripts (like > occ from Nextcloud), errors raises for not finding resources (like mysql > socket etc). > > I couldn't