Laravel application does not work: failed to open stream

Created:

2016-11-16 13:13:01 UTC

Modified:

2017-04-24 11:42:47 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Laravel application does not work: failed to open stream

Applicable to:

  • Plesk 11.0 for Windows
  • Plesk 12.0 for Linux

Symptoms

I installed Laravel aplication in domain directory, when I try to browse it, I got error:

    Warning: require(__DIR__/bootstrap/autoload.php) [function.require]: failed to open stream: No such file or directory in D:\\Inetpub\\vhosts\\domain.com\\Testing3\\index.php on line 21

Warning: require(__DIR__/bootstrap/autoload.php) [function.require]: failed to open stream: No such file or directory in D:\\Inetpub\\vhosts\\domain.com\\Testing3\\index.php on line 21

Resolution

According to documentation for Laravel application, it requires PHP 5.3:

http://laravel.com/docs/installation

  1. Install PHP 5.3 using Plesk autoinstaller
  2. enable PHP 5.3 in hosting settings of domain
Have more questions? Submit a request
Please sign in to leave a comment.