jsm 0 Posted May 14, 2020 Report Share Posted May 14, 2020 Hi, I'm getting a message whenever I start the PHP Tryit editor chroot: failed to run command '/usr/bin/php': No such file or directory Only on PHP, everything else seems to work. I'm on Windows 10, so I'm not clear why the command being executed, because the PHP manual says the "function is only available to GNU and BSD systems". Thanks Quote Link to post Share on other sites
Ingolme 1,027 Posted May 14, 2020 Report Share Posted May 14, 2020 Which tryit example are you referring to? By Tryit editor, I assume you're referring to something like this: https://www.w3schools.com/php/phptryit.asp?filename=tryphp_func_string_strlen Quote Link to post Share on other sites
jsm 0 Posted May 14, 2020 Author Report Share Posted May 14, 2020 Actually, any of them. No, the strlen example didn't work. If I copy that example out to a test.php, it runs fine (through a Xampp setup). It seems only Tryit that has the problem. Quote Link to post Share on other sites
Ingolme 1,027 Posted May 14, 2020 Report Share Posted May 14, 2020 I just had a bit of time and checked. There certainly does seem to be a problem. The problem is not on your computer, it's the server that has a problem. When the manual is talking about the operating system, it is referring to the server's operating system, not your computer's operating system. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.