CakeDC / oven

Welcome to Oven. The easiest way to install CakePHP.
Other
141 stars 60 forks source link

Can't install to the root folder! #18

Closed vamcart closed 7 years ago

vamcart commented 7 years ago

Try to install to the root folder http://localhost , not http://localhost/app Can't install.

Try to install with app dir empty value and get the error:

Warning: require(/home/vamshop-en/www/vendor/autoload.php): failed to open stream: No such file or directory in /home/vamshop-en/www/webroot/index.php on line 27

How to install to the root folder?!

screenshot from 2017-06-25 22-55-57 screenshot from 2017-06-25 22-56-25

julianmojico commented 7 years ago

Not really understand your problem....probably filesystem permissions....my advise is :You should bake your cake in /var/www/html/ Copy your oven.php Give full permissons : sudo chmod 775 /var/www/html And load oven.php

vamcart commented 7 years ago

File and directory permissions correct.

I can't. I have http://localhost domain and html folder /var/www/ I want to install Over to http://localhost

I can install to http://localhost/app_name , but not http://localhost

andrej-griniuk commented 7 years ago

This behaviour is correct, you can't install it to the directory where oven.php is placed. The script is using composer create-project and it can only be done for an empty dir.