PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Thursday, February 17, 2022

[FIXED] bake cakephp configure console profile

 February 17, 2022     .profile, bash, cakephp, cakephp-bake, mamp     No comments   

Issue

i've just installed CakePHP and I'm pretty new with Mac,Shells and Terminal.. Cakephp is now running correctly and as stated by my tutorial (Beginning-Cakephp-from novice to professional) i'm now trying to configure console profile to run Bake (i'm on MAMP also).
I typed in the Terminal:

vi .profile  

then I inserted an alias:

alias cake="/Applications/MAMP/bin/php5.3/bin/php /Applications/MAMP/htdocs/luca/cake/cake/console/cake.php"

If I go trying for $ cake bake now i receive the message:

-bash: /Applications/MAMP/bin/php5.3/bin/php: Permission denied

what's wrong?

thanks
Luca

P.S I saw few other tutorial that used to edit .profile with exporting a path..what's the difference and how does it works?


Solution

I can bake actually if I navigate to mydir/cake/console, and then run the command

$ ./cake bake


Answered By - luca
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

1,214,405

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © 2025 PHPFixing