[GH-ISSUE #96] Failed to Open Stream: Missing "autoload" file #64

Closed
opened 2026-02-26 02:32:00 +03:00 by kerem · 11 comments
Owner

Originally created by @jones-agyemang on GitHub (Dec 17, 2015).
Original GitHub issue: https://github.com/koel/koel/issues/96

I'm using the step-by-step installation guide here(http://koel.phanan.net/#install). I get an error when I run this command php artisan init. Error details are giving below.

⤷  php artisan init

Warning: require(/Users/jonesagyemang/Projects/koel/bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in /Users/jonesagyemang/Projects/koel/bootstrap/autoload.php on line 17

Fatal error: require(): Failed opening required '/Users/jonesagyemang/Projects/koel/bootstrap/../vendor/autoload.php' (include_path='.:') in /Users/jonesagyemang/Projects/koel/bootstrap/autoload.php on line 17
Originally created by @jones-agyemang on GitHub (Dec 17, 2015). Original GitHub issue: https://github.com/koel/koel/issues/96 I'm using the step-by-step installation guide here(http://koel.phanan.net/#install). I get an error when I run this command `php artisan init`. Error details are giving below. ``` ⤷ php artisan init Warning: require(/Users/jonesagyemang/Projects/koel/bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in /Users/jonesagyemang/Projects/koel/bootstrap/autoload.php on line 17 Fatal error: require(): Failed opening required '/Users/jonesagyemang/Projects/koel/bootstrap/../vendor/autoload.php' (include_path='.:') in /Users/jonesagyemang/Projects/koel/bootstrap/autoload.php on line 17 ```
kerem closed this issue 2026-02-26 02:32:00 +03:00
Author
Owner

@etopian commented on GitHub (Dec 17, 2015):

which version of php are you using? looks like a version of php which is too old.

<!-- gh-comment-id:165514060 --> @etopian commented on GitHub (Dec 17, 2015): which version of php are you using? looks like a version of php which is too old.
Author
Owner

@jones-agyemang commented on GitHub (Dec 17, 2015):

@etopian

⤷  php -v
PHP 5.6.16 (cli) (built: Dec 17 2015 16:38:17)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies
<!-- gh-comment-id:165517563 --> @jones-agyemang commented on GitHub (Dec 17, 2015): @etopian ``` ⤷ php -v PHP 5.6.16 (cli) (built: Dec 17 2015 16:38:17) Copyright (c) 1997-2015 The PHP Group Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies ```
Author
Owner
<!-- gh-comment-id:165518404 --> @etopian commented on GitHub (Dec 17, 2015): http://stackoverflow.com/questions/28468625/laravel-5-failed-opening-required-bootstrap-vendor-autoload-php
Author
Owner

@jones-agyemang commented on GitHub (Dec 17, 2015):

Thanks @etopian I am upgrading to PHP 7.0
Then I will try again

I will keep you updated

<!-- gh-comment-id:165518881 --> @jones-agyemang commented on GitHub (Dec 17, 2015): Thanks @etopian I am upgrading to PHP 7.0 Then I will try again I will keep you updated
Author
Owner

@etopian commented on GitHub (Dec 17, 2015):

Run composer install in your root project folder (or php composer.phar install).

PHP 5.6 should be fine.

<!-- gh-comment-id:165519198 --> @etopian commented on GitHub (Dec 17, 2015): Run composer install in your root project folder (or php composer.phar install). PHP 5.6 should be fine.
Author
Owner

@jones-agyemang commented on GitHub (Dec 17, 2015):

 () ~/Projects/koel (master)
⤷  php composer.phar install
Could not open input file: composer.phar
<!-- gh-comment-id:165519534 --> @jones-agyemang commented on GitHub (Dec 17, 2015): ```  () ~/Projects/koel (master) ⤷ php composer.phar install Could not open input file: composer.phar ```
Author
Owner

@etopian commented on GitHub (Dec 17, 2015):

you need to get https://getcomposer.org/composer.phar

after that you need to get nodejs. read the install instruction.

it's much quicker to get docker and use that instead.

https://docs.docker.com/engine/installation/windows/

https://github.com/etopian/docker-koel

<!-- gh-comment-id:165523554 --> @etopian commented on GitHub (Dec 17, 2015): you need to get https://getcomposer.org/composer.phar after that you need to get nodejs. read the install instruction. it's much quicker to get docker and use that instead. https://docs.docker.com/engine/installation/windows/ https://github.com/etopian/docker-koel
Author
Owner

@jones-agyemang commented on GitHub (Dec 17, 2015):

@etopian I'm using MacOS's Mavericks

I enabled OpenSSL in php.ini and re-run composer install.

Thanks for the SO link. That's where I found the answer!

<!-- gh-comment-id:165524159 --> @jones-agyemang commented on GitHub (Dec 17, 2015): @etopian I'm using MacOS's Mavericks I enabled OpenSSL in php.ini and re-run `composer install`. Thanks for the SO link. That's where I found the answer!
Author
Owner

@jones-agyemang commented on GitHub (Dec 17, 2015):

👍

<!-- gh-comment-id:165539535 --> @jones-agyemang commented on GitHub (Dec 17, 2015): :+1:
Author
Owner

@fgitpush commented on GitHub (Jan 14, 2018):

PHP 5.6 version is causing the issue. Upgrade to 7.x.

<!-- gh-comment-id:357532278 --> @fgitpush commented on GitHub (Jan 14, 2018): PHP 5.6 version is causing the issue. Upgrade to 7.x.
Author
Owner

@fgitpush commented on GitHub (Mar 23, 2019):

There are several reasons why this is caused:

  1. /storage and /bootstrap don't have file permission 775
  2. Old version of PHP
  3. Not running composer update in the project.
<!-- gh-comment-id:475852759 --> @fgitpush commented on GitHub (Mar 23, 2019): There are several reasons why this is caused: 1. /storage and /bootstrap don't have file permission 775 2. Old version of PHP 3. Not running composer update in the project.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/koel-koel#64
No description provided.