Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Laravel 5.3 Homestead php7 reload php.ini file

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

like image 860
cmac Avatar asked Oct 15 '16 22:10

cmac


2 Answers

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
like image 97
Mauran Muthiah Avatar answered Oct 12 '22 01:10

Mauran Muthiah


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

service php7.1-fpm restart
like image 36
Hyder B. Avatar answered Oct 12 '22 00:10

Hyder B.