Laravel 5.3 Homestead php7 reload php.ini file

cmac picture cmac · Oct 16, 2016 · Viewed 7.5k times · Source

enter image description hereI made some changes to /etc/php/7.0/cli/php.ini on my laravel homestead machine. But I can't get it to load the new settings. Tried restarting nginx, restart php7, etc...

Answer

Mauran Muthiah picture Mauran Muthiah · Oct 16, 2016

The file /etc/php/7.0/cli/php.ini is for PHP-running trough commandline.

There should a php.ini in /etc/php/7.0/fpm with the settings for PHP-FPM. After you've edited that, restart php-fpm with this command

service php7.0-fpm restart