10

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...

cmac
  • 3,123
  • 6
  • 36
  • 49

2 Answers2

22

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
Mauran Muthiah
  • 1,198
  • 9
  • 21
7

I'm also running Homestead but a more recent version, for me it was the following:

service php7.1-fpm restart
Hyder B.
  • 10,900
  • 5
  • 51
  • 60