PHP - Warning: exec(): Unable to fork RRS feed

  • 質問

  • My PHP website is attempting to make a call to a compiled program and is failing with the error

    exec(): Unable to fork. Searching around shows that this is probably a permissions issue, and that I could provide the proper permissions to the IUSR account, but Azure websites don't allow this level of control. Is it possible for PHP to make a call to a compiled program in azure websites?

    2012年11月26日 18:48


  • You would need to grant the process account with executable permissions to the command shell for this, and we don't allow that in Windows Azure Web Sites. You should consider a Web Role if you need this capability.

    Jim Cheshire | Microsoft

    2012年11月26日 21:35