Quick one:
If you ever need to run a cake console app, and your site is on some shared hosting provider with only cpanel-ish access, running cake commands doesn't work *exactly* as advertised in their documentation. I managed to get my scripts running with the following syntax:
cd /home/[your_dir1]/public_html/yourSiteName.com/ ; /usr/local/bin/php bin/cake.php [app] [appFunction]
Hope that helps someone somewhere!
No comments:
Post a Comment