title: AWS Lambda Error : Error: Runtime failed to start: fork/exec /opt/bootstrap: no such file or directory
body: <p>I am running the following solution from AWS Lambda,</p>
  
  <p><a href="https://aws.amazon.com/blogs/apn/aws-lambda-custom-runtime-for-php-a-practical-example/" rel="noreferrer">https://aws.amazon.com/blogs/apn/aws-lambda-custom-runtime-for-php-a-practical-example/</a></p>
  
  <p>While testing the lambda function.</p>
  
  <pre><code>sudo aws lambda invoke --function-name php-example-hello --region us-east-1 --log-type Tail --query 'LogResult' --output text --payload '{"name": "World"}' hello-output.txt | base64 --decode
  </code></pre>
  
  <p>I am getting the following error,</p>
  
  <pre><code>START RequestId: 29f05ee2-a003-45f4-9700-97a9ac33a528 Version: $LATEST
  END RequestId: 29f05ee2-a003-45f4-9700-97a9ac33a528
  REPORT RequestId: 29f05ee2-a003-45f4-9700-97a9ac33a528  Duration: 54.09 ms      Billed Duration: 100 ms         Memory Size: 128 MB     Max Memory Used: 12 MB
  RequestId: 29f05ee2-a003-45f4-9700-97a9ac33a528 Error: Runtime failed to start: fork/exec /opt/bootstrap: no such file or directory
  Runtime.ExitError
  </code></pre>
  
  <p>Any help will be appreciated. </p>