# Df: env results in error on install not sure why

**URL:** <https://community.dreamfactory.com/t/df-env-results-in-error-on-install-not-sure-why/4658>\
**Category:** uncategorized\
**Created:** [October 21, 2018, 10:46pm UTC](https://community.dreamfactory.com/t/df-env-results-in-error-on-install-not-sure-why/4658 "2018-10-21T22:46:45Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![tomtruitt](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/tomtruitt/32/1219_2.png) [@tomtruitt](https://community.dreamfactory.com/u/tomtruitt)\
**Post date:** [October 21, 2018, 10:46pm UTC](https://community.dreamfactory.com/t/df-env-results-in-error-on-install-not-sure-why/4658/1 "2018-10-21T22:46:45Z")

</div>

root@s135607:/opt/dreamfactory# php artisan df:env  
PHP Warning: require(/opt/dreamfactory/vendor/autoload.php): failed to open stream: No such file or directory in /opt/dreamfactory/artisan on line 18  
PHP Fatal error: require(): Failed opening required ‘/opt/dreamfactory/vendor/autoload.php’ (include\_path=’.:/usr/share/php’) in /opt/dreamfactory/artisan on line 18

---

<div class="post-metadata">

**Author:** ![Kevin\_Mcgahey](https://avatars.discourse-cdn.com/v4/letter/k/b3f665/32.png) [@Kevin\_Mcgahey](https://community.dreamfactory.com/u/Kevin_Mcgahey)\
**Post date:** [October 22, 2018, 4:03pm UTC](https://community.dreamfactory.com/t/df-env-results-in-error-on-install-not-sure-why/4658/2 "2018-10-22T16:03:19Z")

</div>

Hi @tomtruitt,

Can you please let me know where you were running `php artisan df:env` from? Specifically what directory?

Best,  
Kevin McGahey

---

<div class="post-metadata">

**Author:** ![tomtruitt](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/tomtruitt/32/1219_2.png) [@tomtruitt](https://community.dreamfactory.com/u/tomtruitt)\
**Post date:** [October 22, 2018, 4:17pm UTC](https://community.dreamfactory.com/t/df-env-results-in-error-on-install-not-sure-why/4658/3 "2018-10-22T16:17:37Z")

</div>

Hi yes from within /opt/dream factory after having cloned the git

---

<div class="post-metadata">

**Author:** ![Kevin\_Mcgahey](https://avatars.discourse-cdn.com/v4/letter/k/b3f665/32.png) [@Kevin\_Mcgahey](https://community.dreamfactory.com/u/Kevin_Mcgahey)\
**Post date:** [October 22, 2018, 5:09pm UTC](https://community.dreamfactory.com/t/df-env-results-in-error-on-install-not-sure-why/4658/4 "2018-10-22T17:09:59Z")

</div>

@tomtruitt,

Currently trying to recreate the issue. What OS are you running this on and what version of PHP are you on?

Also, did anything error out in `composer install` ?

---

<div class="post-metadata">

**Author:** ![tomtruitt](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/tomtruitt/32/1219_2.png) [@tomtruitt](https://community.dreamfactory.com/u/tomtruitt)\
**Post date:** [October 22, 2018, 5:38pm UTC](https://community.dreamfactory.com/t/df-env-results-in-error-on-install-not-sure-why/4658/5 "2018-10-22T17:38:40Z")

</div>

Running on 14.04 lts  
Php 7.1  
It just gave errors about mongo. Do I need mongo for dreamfactory? Sorry I thought just ignore because my db is using mariadb

---

<div class="post-metadata">

**Author:** ![Kevin\_Mcgahey](https://avatars.discourse-cdn.com/v4/letter/k/b3f665/32.png) [@Kevin\_Mcgahey](https://community.dreamfactory.com/u/Kevin_Mcgahey)\
**Post date:** [October 22, 2018, 5:43pm UTC](https://community.dreamfactory.com/t/df-env-results-in-error-on-install-not-sure-why/4658/6 "2018-10-22T17:43:05Z")

</div>

@tomtruitt,

Apologies, when running `composer install` if you do not plan on using mongo or oracle you can run `composer install --ignore-platform-reqs` to hopefully fix the issue.

---

<div class="post-metadata">

**Author:** ![tomtruitt](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/tomtruitt/32/1219_2.png) [@tomtruitt](https://community.dreamfactory.com/u/tomtruitt)\
**Post date:** [October 22, 2018, 6:02pm UTC](https://community.dreamfactory.com/t/df-env-results-in-error-on-install-not-sure-why/4658/7 "2018-10-22T18:02:02Z")

</div>

Thank you! I see now it didn’t even install dreamfactory before ha I didn’t realize
