Jump to content

php.ini file


Recommended Posts

If I remember correctly, the php.ini is looked for in this order:

 

 

If it's an Apache module, it's looked for in the configured directory.

Then:

-Path

-Current folder

 

It might actually be current folder then path, but I don't remember.

 

 

So, you can just put the ini in the path.

Link to comment
https://forums.phpfreaks.com/topic/137648-phpini-file/#findComment-720145
Share on other sites

  • 2 weeks later...

Hey guys, I am dealing with a separate topic, but still inside php.ini...  hope SOMEONE can help!

 

I have recently installed WAMP as I am getting back into the code after quite some time.  Everything seems to be functioning, but when I attempt to change my SMTP and PORT info it doesn't appear to be reflected in phpinfo().

 

Naturally, all I want to do is enable the mail function (and I admit, I have no idea what I am doing in regards to this, but still, I should see SOME changes made, right??)

 

All of this is stemming from the below issue:

 

Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\wamp\www\mail.php on line 13

 

 

Thanks you guys!

Link to comment
https://forums.phpfreaks.com/topic/137648-phpini-file/#findComment-724983
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.