Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

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