Best Place to Set an Environment Variable for a phpBB Extension

Avatar
  • updated
  • Answered

I want to define an environment variable that will be exposed to PHP for a phpBB extension, as described here.  I'm running a Managed VPS (CentOS).  There are several configuration files that pertain to Apache - what is the appropriate place to do a SetEnv for this variable?

Avatar
IMH Support Agent 1
  • Answered

Hello,

Thank you for contacting about defining an environmental variable. You can set this via csh using the setenv command? Here is an helpful guide I found on this command that includes the syntax and examples.

Also keep in mind that you can reach out to our Managed Hosting team for assistance with custom server configurations if necessary.

Thank you,

John-Paul