1"use strict";(self.webpackChunkphpvms_docs=self.webpackChunkphpvms_docs||[]).push([[1555],{41678(e,n,i){i.r(n),i.d(n,{assets:()=>c,contentTitle:()=>a,default:()=>f,frontMatter:()=>r,metadata:()=>t,toc:()=>l});const t=JSON.parse('{"id":"config/files","title":"Config Files","description":"A lot of settings can be located in the phpvms Admin panel, under settings.","source":"@site/versioned_docs/version-v7.x/config/files.md","sourceDirName":"config","slug":"/config/files","permalink":"/config/files","draft":false,"unlisted":false,"editUrl":"https://github.com/phpvms/docs/tree/master/versioned_docs/version-v7.x/config/files.md","tags":[],"version":"v7.x","frontMatter":{"id":"files","title":"Config Files","sidebar_title":"Config Files"},"sidebar":"docs","previous":{"title":"Installation Issues","permalink":"/installation/issues"},"next":{"title":"Config Language","permalink":"/config/language"}}');var s=i(74848),o=i(28453);const r={id:"files",title:"Config Files",sidebar_title:"Config Files"},a="Admin Panel Settings",c={},l=[{value:"Configuration Files",id:"configuration-files",level:2}];function d(e){const n={a:"a",admonition:"admonition",code:"code",h1:"h1",h2:"h2",header:"header",hr:"hr",p:"p",...(0,o.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.header,{children:(0,s.jsx)(n.h1,{id:"admin-panel-settings",children:"Admin Panel Settings"})}),"\n",(0,s.jsx)(n.p,{children:"A lot of settings can be located in the phpvms Admin panel, under settings."}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h2,{id:"configuration-files",children:"Configuration Files"}),"\n",(0,s.jsxs)(n.p,{children:["Laravel has a lot of basic configuration in PHP files in the ",(0,s.jsx)(n.code,{children:"/config"}),"\ndirectory. In order to not overwrite these on an update, there is a way to\noverride these in a ",(0,s.jsx)(n.code,{children:".env"})," file in the root of your phpvms install that is\ngenerated by the installer. This contains information such as the database,\nmail, and select configs from the ",(0,s.jsx)(n.code,{children:"/config"})," directory. This file is used as an\noverride (in the previous version of phpvms, the ",(0,s.jsx)(n.code,{children:"local.config.php"})," file is the\nsame concept)."]}),"\n",(0,s.jsx)(n.admonition,{type:"caution",children:(0,s.jsxs)(n.p,{children:["Don't change the files in the ",(0,s.jsx)(n.code,{children:"/config"})," directory; instead, edit the ",(0,s.jsx)(n.code,{children:".env"}),"\nfile. This file will not be overwritten on an update."]})}),"\n",(0,s.jsxs)(n.p,{children:["See ",(0,s.jsx)(n.a,{href:"https://laravel.com/docs/9.x/configuration",children:"Laravel configuration files"}),"\nfor additional documentation."]})]})}function f(e={}){const{wrapper:n}={...(0,o.R)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(d,{...e})}):d(e)}},28453(e,n,i){i.d(n,{R:()=>r,x:()=>a});var t=i(96540);const s={},o=t.createContext(s);function r(e){const n=t.useContext(o);return t.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function a(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:r(e.components),t.createElement(o.Provider,{value:n},e.children)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.