b2evolution b2evolution

  • Sign in
  • Sign up
  • About
  • Downloads
  • Hosting
  • Docs
  • Support
  • Sign in
  • Sign up
  • Manuals Home
  • Latest Updates
 
  1. b2evolution CMS User Manual
  2. Installation / Upgrade
  3. Configuration files
  4. Other /conf files
  5. _local.php

_local.php

The file /conf/_local.php is not included in the b2evolution distribution. However, if you create it, it will be loaded after all other configuration files.

Use this file for local configurations that you do not want to overwrite in case of an automatic upgrade.

  • The fact that it is loaded last makes it great for overriding any other configuration variables, especially for testing.
  • The fact that the file is not include by default make it great for keeping persistent configuration changes, even after an upgrade where all other configuration files are replaced by new versions.

We recommend that you copy/paste all your edits to the other configuration files into this file prior to upgrading.

IMPORTANT: _local.php is the new preferred way of configuring local configuration in b2evolution v6 (instead of using overrides-test-php). If your already have a file named /conf/overrides-test-php, rename it to /conf/_local.php. Only ONE file will be loaded. Not both. Avoid having both files!

Created by fplanque • Last edit by fplanque on 2020-06-09 00:24 • •

No feedback yet

Search the Manual

Content Hierarchy

  • b2evolution CMS User Manual
  • User's Guide
  • Installation / Upgrade
    • New Installation
    • Upgrade
    • Configuration files
      • _basic_config.php
      • _advanced.php
      • Other /conf files
        • Dev Menu
        • _admin.php
        • _application.php
        • _basic_config.php
        • _basic_config.template.php
        • _config.php
        • _formatting.php
        • _icons.php
        • _local.php
        • _locales.php
        • _maintenance.html
        • _social.php
        • _stats.php
        • _upgrade.php
        • sample.htaccess
        • upgrade_policy.conf
      • Files related to upgrade
      • System config files
    • Advanced Setup
    • Migrating from Another System
    • Moving your b2evolution Site
    • FAQ & Troubleshooting (Installation / Upgrade)
    • Assumed User Skills
  • Front-office Reference
  • Back-office Reference
  • Developer Reference
  • Operations Reference
  • Advanced Topics
  • Glossary
  • Archives
Free CMS

This online manual is powered by b2evolution CMS – A complete engine for your website.

About b2evolution

  • What is it?
  • Features
  • Getting Started
  • Screenshots
  • Online demo
  • Testimonials
  • Design philosophy
  • Free & open source
  • Terms of service

Downloads

  • Latest releases
  • Skins
  • Plugins
  • Language packs

About us

  • About us
  • Contact

Webhosting Guide

  • Web hosting blog
  • Best web hosting
  • Cheap web hosting
  • Green web hosting
  • Hosting with SSH
  • VPS hosting
  • Dedicated servers
  • Reseller hosting
  • Int'l: UK / France

Docs & Support

  • Online manual
  • Forums
  • Hire a pro !

Other

  • Adsense
  • Press room
  • Privacy policy

Stay in touch

  • GitHub
  • Twitter
  • Facebook
  • LinkedIn
  • News blog
  • RSS feed
  • Atom feed

Founded & Maintained by François Planque