Valet switch PHP version with these commands
Install PHP 5.6 and switch Valet to PHP 5.6
valet stop
brew unlink php71
brew install php56
brew install php56-mcrypt
# Varnish 4.0 configuration for Craft | |
# | |
# Based on the following: | |
# - https://github.com/mattiasgeniar/varnish-4.0-configuration-templates/blob/master/default.vcl | |
# - https://gist.github.com/aelvan/eba03969f91c1bd51c40 | |
vcl 4.0; | |
import std; | |
import directors; |
Here are a few common tasks you might do in your templates, as they would be written in ExpressionEngine vs. Craft CMS.
CREATE TABLE `makers` ( | |
`id` int(10) unsigned NOT NULL, | |
`name` varchar(255) NOT NULL, | |
`description` varchar(255) NOT NULL, | |
`created_at` datetime NOT NULL, | |
`updated_at` datetime NOT NULL, | |
PRIMARY KEY (`id`) | |
) ENGINE=InnoDB DEFAULT CHARSET=latin1; | |
-- |