Home > Software design >  how to find php.ini file in laravel for configuration
how to find php.ini file in laravel for configuration

Time:10-28

I get this error

mail(): Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set()

How can solve it I dont know how to find php.ini file in laravel

CodePudding user response:

Run this command on your console

php -i | grep "Loaded Configuration File"

It will return the path of your php.ini file.

  • Related