Install CakePHP2.X skeleton with php5.6


After installing composer using php5.6 you may want to bake php cake skeleton.
By default it will use the PHP7 if php7 is installed on your system.
Here is a way to force it to use php56 instead.

php56 Vendor/cakephp/cakephp/lib/Cake/Console/cake.php bake project /htdocs/cakephp
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s