Jump to content
Sign in to follow this  
jsm

PHP Tryit Editor

Recommended Posts

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

 

Share this post


Link to post
Share on other sites

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.

 

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...