apache+php chroot
| From: | Ryan | Date: | Mon, 02 Jul 2001 00:44:19 +0000 |
| Subject: | apache+php chroot | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-55763@lists.php.net to get a copy of this message | ||
I have chrooted apache+php but am having simple problems like not being able to exec uptime.
uptime has been moved to /usr/serv/apache/usr/bin/uptime..
Well anyways heres my lil php line im tring to get running
<?php passthru ( "uptime" ); ?>
I get no errors from php, just doesnt show anything.. I realize it needs a shell to execute so
/usr/serv/apache/bin/bash
and /usr/serv/apache/usr/etc/shells is setup correctly. Would there be something that im missing?
Im frustruated right now..
Its something to do with the chroot env. What am i missing??
Everything else seems to work fine if theres any more info you need me to give let me know.
thanks
Ryan
ryanpek@swbell.net