Welcome! Log In Create A New Profile

Advanced

php-fpm + chroot = system command don't work

Posted by Sebastian Dudek 
Sebastian Dudek
php-fpm + chroot = system command don't work
November 28, 2010 08:12AM
Hi, i have a problem with php-fpm because if I set a chroot in path
command exec, system won't work.
Rainer Duffner
Re: php-fpm + chroot = system command don't work
November 28, 2010 08:20AM
Am 28.11.2010 um 14:01 schrieb Sebastian Dudek:

> Hi, i have a problem with php-fpm because if I set a chroot in path
> command exec, system won't work.



AFAIK, the chroot is a complete chroot, not an open_basedir type chroot.
Any binaries need to be copied inside the chroot.



Rainer
Sebastian Dudek
Re: php-fpm + chroot = system command don't work
November 28, 2010 08:36AM
Ok, copy binary uname and lib for uname but don't work :x

On Sun, Nov 28, 2010 at 2:18 PM, Rainer Duffner <rainer@ultra-secure.de> wrote:
>
> Am 28.11.2010 um 14:01 schrieb Sebastian Dudek:
>
>> Hi, i have a problem with php-fpm because if I set a chroot in path
>> command exec, system won't work.
>
>
>
> AFAIK, the chroot is a complete chroot, not an open_basedir type chroot.
> Any binaries need to be copied inside the chroot.
>
>
>
> Rainer
>
Rainer Duffner
Re: php-fpm + chroot = system command don't work
November 28, 2010 08:48AM
Am 28.11.2010 um 14:34 schrieb Sebastian Dudek:

> Ok, copy binary uname and lib for uname but don't work :x



what error msg do you get?
Sebastian Dudek
Re: php-fpm + chroot = system command don't work
November 28, 2010 10:02AM
no error :X

On 28 Lis, 14:45, Rainer Duffner <rai...@ultra-secure.de> wrote:
> Am 28.11.2010 um 14:34 schrieb Sebastian Dudek:
>
> > Ok,  copy binary uname and lib for uname but don't work :x
>
> what error msg do you get?
Sebastian Dudek
Re: php-fpm + chroot = system command don't work
November 29, 2010 07:10AM
http://194.28.51.198/test.php

example.

Too copy lib i use http://www.cyberciti.biz/files/lighttpd/l2chroot.txt

On Nov 28, 4:00 pm, Sebastian Dudek <gr33tz...@gmail.com> wrote:
> no error :X
>
> On 28 Lis, 14:45, Rainer Duffner <rai...@ultra-secure.de> wrote:
>
>
>
>
>
>
>
> > Am 28.11.2010 um 14:34 schrieb Sebastian Dudek:
>
> > > Ok,  copy binary uname and lib for uname but don't work :x
>
> > what error msg do you get?
Re: php-fpm + chroot = system command don't work
November 30, 2010 02:00AM
On Mon, Nov 29, 2010 at 7:09 PM, Sebastian Dudek <gr33tz.pl@gmail.com> wrote:
> http://194.28.51.198/test.php
>
> example.
>

is that the problematic page or you're just showing the snippet of
problematic code?

--
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
Sebastian Dudek
Re: php-fpm + chroot = system command don't work
November 30, 2010 04:38AM
Problematic page and I show example code ;)

On Tue, Nov 30, 2010 at 7:58 AM, Edho P Arief <edhoprima@gmail.com> wrote:
> On Mon, Nov 29, 2010 at 7:09 PM, Sebastian Dudek <gr33tz.pl@gmail.com> wrote:
>> http://194.28.51.198/test.php
>>
>> example.
>>
>
> is that the problematic page or you're just showing the snippet of
> problematic code?
>
> --
> O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
>
Sebastian Dudek
Re: php-fpm + chroot = system command don't work
November 30, 2010 04:40AM
System is RHEL6 but i create php 5.3.3 from fedora .srpm

On Nov 30, 10:36 am, Sebastian Dudek <gr33tz...@gmail.com> wrote:
> Problematic page and I show example code ;)
>
> On Tue, Nov 30, 2010 at 7:58 AM, Edho P Arief <edhopr...@gmail.com> wrote:
>
>
>
>
>
>
>
> > On Mon, Nov 29, 2010 at 7:09 PM, Sebastian Dudek <gr33tz...@gmail.com> wrote:
> >>http://194.28.51.198/test.php
>
> >> example.
>
> > is that the problematic page or you're just showing the snippet of
> > problematic code?
>
> > --
> > O< ascii ribbon campaign - stop html mail -www.asciiribbon.org
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 253
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