jsm Posted May 14, 2020 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 Link to comment Share on other sites More sharing options...
Ingolme Posted May 14, 2020 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 Link to comment Share on other sites More sharing options...
jsm Posted May 14, 2020 Author 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. Link to comment Share on other sites More sharing options...
Ingolme Posted May 14, 2020 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now