See system requirements for supported versions of PHP. Most flavors of Linux have PHP installed by default. This topic assumes that you have already installed PHP.
To verify if PHP is installed already, in the command line, type:. If PHP is installed, a message similar to the following displays:. If PHP is not installed, or a version upgrade is needed, install it following instructions for your particular Linux flavor. Configuration management exports your configurations to a file for pushing across your environments.
This file, config. This information details an example for configuring your settings, exporting the file, and deploying it. This example shows how to use the recommended procedure for managing the configuration:. In the Integration environment, you can log in to the Admin panel to modify system configuration settings for stores, websites, modules or extensions, static file optimization, and system values related to static content deployment.
See Configuration data. This step creates and transfers the config. This procedure corresponds to step 2 in the recommended procedure.
After you create config. Create config. Transfer config. The following snippet from config. This procedure corresponds to step 3 and 4 in the recommended procedure.
Use the optional --lock option to lock the option in the Admin that is, make the setting uneditable. If a setting is already locked, use the --lock option to change the setting.
This section shows examples of managing the configuration so you can see how changes are made to config. This section shows the change made to config. The value is written to the general array under locale as the following snippet from config. This time, not all of your changes are written to config. The PayPal settings are written to neither file because the magento app:config:dump command does not write sensitive settings. You must set the PayPal settings on the production system using the following commands:.
File permissions and ownership must be consistent across development, build, and production systems. To make this work, you must either:. Change Magento file system permissions and ownership on each system as necessary using the following guidelines:.
If you choose this approach, you must set file system permissions and ownership every time you pull code from your build system if the file system owner or web server user are different on your build system.
The Magento 2 deployment configuration replaces local. On the top level of this array are configuration segments. A segment has arbitrary content a scalar value or a nested array distinguished by an arbitrary key—where both the key and its value are defined by the Magento framework.
0コメント