Skip to end of metadata
Go to start of metadata
Why do we need this?
- To hide some configuration from Network Admins (such as Mail configuration, Cache configuration, etc.)
- To remove the concern of where to write configurations in scalable systems.
- To be able to change configurations in scalable systems.
- To easily ship the phpFox applications to container-based environments such as Docker.
- To simplify some installation steps for non-tech users.
What are Environment Variables supported?
- Site-specific:
- PFE_CORE_HOST
- PFE_CORE_FOLDER
- Database variables:
- PFE_DAT_DRIVER
- PFE_DAT_HOST
- PFE_DAT_PORT
- PFE_DAT_USR
- PFE_DAT_PW
- PFE_DAT_DBNAME
- PFE_DAT_DBPREFIX
- Cache configurations
- PFE_CACHE_DRIVER
- PFE_CACHE_HOST
- PFE_CACHE_PORT
- PFE_CACHE_AUTH_USR
- PFE_CACHE_AUTH_PW
- Mail sending configurations:
- PFE_MAIL_PROVIDER
- PFE_MAIL_FROM_NAME
- PFE_MAIL_FROM_EMAIL
- PFE_MAIL_SMTP_HOST
- PFE_MAIL_SMTP_USR
- PFE_MAIL_SMTP_PW
- PFE_MAIL_SMTP_PORT
- PFE_MAIL_SMTP_ENCRYPTION
- PFE_MAIL_IS_SMTP_AUTH
- License
- PFE_LICENSE_ID
- PFE_LICENSE_KEY
- Site Info and Admin
- PFE_SITE_NAME
- PFE_SITE_ADMIN
- PFE_SITE_PW
- Some other settings:
- PFE_IS_SHORT_URL
- PFE_IS_FORCE_EMAIL_VER
- PFE_RECAPT_SITE_KEY
- PFE_RECAPT_SECRET
- PFE_RECAPT_TYPE (2 or 3)
Notes
- In the Admin section, if one configuration is defined in the configuration file (e.g. SMTP configuration), it will be disabled from editing and the following message is shown: "This configuration is set in a configuration file. If you want to change, please edit the corresponding file."
{"serverDuration": 125, "requestCorrelationId": "568afdf6f3c1141c"}