Category Archives: Dev

[SOLVED] MySQL error “only_full_group_by”

Put this line at the very bottom of your <code>my.cnf</code> (usually located in /etc/mysql/my.cnf)


How To Force Log Out all Logged In User in Laravel

In some case there is situation where you have to change the main business process in your application. To ensure all user must follow new rule, you have to force logout all logged in user.

In Laravel, you can do this with less pain. In Laravel, your environment settings are stored in one file called .env. This file contains APP_KEY that used for session stuff. So all you have to do is generate new key in your .env file.


Laravel Homestead Different PHP Version

If you are a Laravel developer and always follow php development, you must be in situation where you like to try new feature of latest php version but your project has to use older php version.

Don’t worry because since version 6.0 Laravel Homestead has convenient way to handle this.

All you need to do is put a specific php version in your Homestead.yaml file like below:


Than, you need to provision your homestead.

$ vagrant --provision