How can I activate custom fields checkbox in pages?

You will find the option when editing the page, just click in the Home link:

enter image description here

select it there and it will be for all the pages from now on:

enter image description here