OroCRM: Fatal error: Uncaught exception ‘RuntimeException’ with message ‘The php executable could not be found, add it to your PATH environment variable and try again’

It is very common error in OROCRM “The PHP executable not found” :

Fatal error: Uncaught exception ‘RuntimeException’ with message ‘The php executable could not be found, add it to your PATH environment variable and try again’

It can be fixed by changing to Production environment from development. Following line at web/app.php

$kernel = new AppKernel('prod', false);

to

$kernel = new AppKernel('prod', true);

 

Leave a Reply

Your email address will not be published. Required fields are marked *