I'm running aMember on Apache inside a CHROOT environment. Everything is working fine except for the curl dependency. All the libraries and so on that curl uses have been re-created inside the CHROOT (thanks to ldd) and should work fine. However when I try to add /usr/local/bin/curl to the configuration in aMember, I get the following error: Couldn't execute '/usr/local/bin/curl http://www.yahoo.com/'. Exit code: 6 This is different from error code 127, when the file/directory doesn't exist. What exactly is exit code 6? I need to get curl working inside the CHROOT... taking the application out of a chroot isn't an option. Thanks, Kelly
Of course, folder /usr/local/bin and its content is unavailable in chroot enviroment. It is better to just install cURL PHP extension (compile it into PHP).