Jump to content

how to edit environmental variable


theflash51

Recommended Posts

hello, I have an issue where sendmail function is no longer working through shared hosting.  looking at my php information I have a setting that shows this:

 

_ENV["PATH"]  /bin:/usr/bin

 

I know my sendmail app is in /usr/sbin and that is not listed.

 

I am on shared hosting so I don't have a php.ini file to edit but they do allow me to setup my own php.ini to override their default one.

 

What would I put in the php.ini file to change that variable to  /bin:/usr/bin:/usr/sbin  ?  Is that even where this variable is set?

 

Thanks for your time...

 

Link to comment
https://forums.phpfreaks.com/topic/119959-how-to-edit-environmental-variable/
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.