Reputation: 427
I'm on Windows10
So Laravel Homestead uses its own php installation, right. So what's the path to the php.ini file then? Can I access it via the file explorer or?
Upvotes: 2
Views: 4361
Reputation: 3761
It is a little off-topic and not really what you were asking for, but you can overwrite your PHP files via ini_set
. Just think of it, in the end, your live (clients) server might require a php.ini override. And you cannot change the server configuration file.
Upvotes: 0
Reputation: 427
Yes, you are right. So inside gitBash:
Upvotes: 4
Reputation: 1131
Homestead uses Vagrant to create a virtual machine of Ubuntu 18, Nginx, etc. The php configuration is within the virtual machine, not the Windows 10 file system. You'll wanna ssh into your virtual machine, php settings can be found in /etc/php/7.*
Upvotes: 0