How do I resolve this Cakephp issue on my Mac?

Asked

Viewed 251 times

2

Warning: require(/Applications/XAMPP/xamppfiles/htdocs/cake-teste/bookmarker/vendor/autoload.php): failed to open stream: No such file or directory in /Applications/XAMPP/xamppfiles/htdocs/cake-teste/bookmarker/config/bootstrap.php on line 23

Fatal error: require(): Failed opening required '/Applications/XAMPP/xamppfiles/htdocs/cake-teste/bookmarker/vendor/autoload.php' (include_path='.:/Applications/XAMPP/xamppfiles/lib/php') in /Applications/XAMPP/xamppfiles/htdocs/cake-teste/bookmarker/config/bootstrap.php on line 23

I’m using the Mac and there’s no wamp for Mac.

  • You turned the remote composer install? If I’m not mistaken, the file autoload.php is generated at the act of this command.

  • Gustavo pode [Edit] the question and add more information if you want. I added to the question what you had put as answer.

  • 1

    There is no Windowsamp for the same MAC, but there is Macamp and it runs very well in Brazil, I use and recommend https://bitnami.com/stack/mamp

  • 1

    Yes I ran Install

1 answer

1

You tried to see if you had anything to do with permission?

I could also try with MAMP instead of shampooing, I’ve had several problems with this guy there.

https://www.mamp.info/en/

  • 1

    But I’m using and mac doesn’t have wamp.

  • WAMP -> Windows Apache Mysql PHP ( Windows != Mac )

  • Sorry, I meant MAMP: https://www.mamp.info/en/ But the ideal would actually be to install separately everything you really need, to facilitate the facilities I recommend using Homebrew or macport.

  • 1

    I always recommend using MAMP instead of others, MAMP is already on the market longer, I mean, when it comes to the MAC.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.