fbpx

Alterar o encoding padrão do netbeans para UTF-8

Navigate to /etc and open the netbeans.conf file. Add -J-Dfile.encoding=UTF-8 at the end of the line that starts with netbeans_default_options (make sure to include the leading space). Restart Netbeans and it should be in UTF-8 To verify go to help -> about and check System: Windows Vista version 6.0 running on x86; UTF-8; nl_NL (nb)

Abrir arquivos .ctp no Eclipse 2018-12

No menu superior clique em Window > Preferences; Clique em General > Content Types no menu à esquerda; Na caixa Content types, clique em Text e selecione “PHP Content Type”; Clique em “Add” na caixa File associations logo abaixo; Escreva “*.ctp” na caixa que irá aparecer e depois clique em OK; Clique em Apply and …

Instalar CakePHP 4

No endereço https://github.com/cakephp/app selecione a versão 4.x: Depois que for redirecionado para o endereço https://github.com/cakephp/app/tree/4.x clique em Clone or Download e depois em Download ZIP: Descompacte o arquivo e na pasta com os arquivos descompactados, entre no Terminal e digite: composer update Depois disso, altere as permissões das pastas tmp e logs para leitura e …