theflash51 Posted August 16, 2008 Share Posted August 16, 2008 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 More sharing options...
wildteen88 Posted August 16, 2008 Share Posted August 16, 2008 You cannot change environment variables (_ENV) via your php.ini. The _ENV variables are inherited from the system. Link to comment https://forums.phpfreaks.com/topic/119959-how-to-edit-environmental-variable/#findComment-617979 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.