I'm following the bookmark tutorial
for ver3.0.
I tried these commands:
bin/cake bake all users
bin/cake bake all bookmarks
bin/cake bake all tags
results were all "Minimum PHP version: 5.4.16. You are using: 5.4.3"
and no controllers, views, models were created.
Can someone lead me to the right direction? I'm new to CakePHP
.
I have PHP 5.5.12 installed on WAMP2.5. php -v
gives "php5.4.3 on git".
if want run cake bake the first step Windows 7 1-Select Computer from the Start menu 2-Choose System Properties from the context menu 3-Click Advanced system settings > Advanced tab 4-Click on Environment Variables, under System Variables, find PATH, and click on it. 5-In the Edit windows, modify PATH by adding C:\xampp\htdocs\App-file\bin;C:\xampp\php;C:\xampp\mysql\bin;
cake bake model all cake bake controller all cake bake Template all
Upgrade PHP to 5.5 or to 5.6, and it will work.
I had same problem in XAMPP with PHP 5.4.7. After updating XAMPP to the newer PHP version 5.6.8, I am able to bake
.
In case of Windows, the bake command: bin\cake bake all is used instead of bin/cake bake all