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... Quote 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. Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.