On Sun, 31 May 2015 22:20:17 -0500 Okupandolared <kan...@darkmail.mx> wrote: > does not exist, > > so I can copy /usr/bin/whoami to /var/www/usr/bin/whoami? > > that try "ls" and "/bin/ls" and "/var/www/bin/ls" > > and it does not work, > "/bin/ls" exist > "/var/www/bin/ls" exist > > thanks > > On 05/31/15 19:43, Zé Loff wrote: > > On Sun, May 31, 2015 at 09:35:36PM -0500, Okupandolared wrote: > >> -----BEGIN PGP SIGNED MESSAGE----- > >> Hash: SHA256 > >> > >> I like received variables POST and send to KSH script. > >> > >> But it seems that in OpenBSD 5.6 and php-fpm. > >> > >> exec() and exec_shell() not working. > >> > >> Could anyone help me? > >> > >> This link explain in detail what I've tried. > >> > >> http://serverfault.com/questions/695703/php-fpm-does-not-work-me-exec-or-shell-exec > >> > >> thanks > > > > If the server is chrooted at "/var/www" then "/usr/bin/whoami" (from the > > server's point of view) actually means "/var/www/usr/bin/whoami" (from > > your point of view). Does that file exist? >
have you tried to copy /bin/sh to /var/www/bin/sh?