How to configure mail() php.ini file

Hello friends,

I have been trying to configure the mail() function of php but have not been able to do it. I know it is configured in the php.ini file but the problem is:

I have not been able to find the file called php.ini. I use xxampp software.

Please help me out on how to get this file.

Thanks,
Golden Waters.
 

rybussell

New Member
Php

Create a file in your web directory called phpinfo.php

Inside that file, all you need is <?php phpinfo(); ?>

Then, open a web browser and navigate to that phpinfo.php file..

IE: http://yourdomain.com/phpinfo.php

It will bring up a nice list of your install, php version, etc...

About the fifth line down it says Configuration File (php.ini) path and the next one down says Loaded Configuration File. That will give you your path to find where your php.ini file is located.
 
Top