Jump to content

Recommended Posts

I've lost it, or I never had it.

 

I'm taking over a site from a developer, and have discovered that none of my mailtos work on my local server. Apparently this is configured in the php.ini file, which I can't locate.

 

I can't find it on the Prod server, either (although I only have access to one folder of this, so it could be further up)

 

Anyone know where this file is usually kept? Is there a protocol?

 

Thanks...!

Link to comment
https://forums.phpfreaks.com/topic/47907-where-is-phpini/
Share on other sites

Depends on the system, in windows it can be located in the following:

 

c:\windows

C:\winnt

c:\windows\system32

c:\winnt\system32

c:\php

c:\apache\php

c:\program files\apache 2\apache 2\php

 

 

For linux it varies quite a bit, the phpinfo is the best way to figure it out.

 

Link to comment
https://forums.phpfreaks.com/topic/47907-where-is-phpini/#findComment-234117
Share on other sites

Well, I can't change it on the server anyway - I guess I don't need to, because it's working on the live site!

 

The question is why

 <? mail( 

function isn't working on my localhost. Do you know whether I need to change something in the ini file, and if so, what?

 

Thanks  ???

Link to comment
https://forums.phpfreaks.com/topic/47907-where-is-phpini/#findComment-234141
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.