If you’re using Local by Flywheel to work on your projects, there may be times where you need to make customizations to the PHP configuration when the site starts.
Before getting started, note the following:
If you’re using Local by Flywheel to work on your projects, there may be times where you need to make customizations to the PHP configuration when the site starts. Before getting started, note the following: At a high-level, Local will start a containerized environment. What is Local by Flywheel? Local by Flywheel – aka Local – is a local development environment, optimised for WordPress. It’s an alternative to similar tools such as XAMPP, MAMP and WAMP. Local by Flywheel does the heavy lifting for you behind the scenes so that you can get on with developing sites quickly. Local by Flywheel uses Docker containers under the hood but takes care of many things in a really easy to use, friendly, and performant GUI. The other thing I like about it is that it can get SSL working locally easily and keeps DB backups in an easy-to-find place. It includes Mailhog and even has really cool add-ons available now.

- At a high-level, Local will start a containerized environment,
- A containerized environment will have its own set of configuration every single time it starts
- This means that you cannot change any configuration to the OS-level installation to achieve the changes you need.
So what do we do? Browning african safari deluxe download.
Change Local PHP Settings
For example, say that you need to manage the memory_limit
in PHP that runs for your current site. At the time of this article, the default memory limit is 256MB.
Depending on the size of your project, this could be too low. Instead, locate the following directory: Wireless gamepad f710 driver is unavailable.
/Users/[your user name]/[your local directory]/[your site directory]/conf/php
Local Flywheel Change Site Path
Then find the following file:
Archicad cracked version. php.ini.hbs
Open the file in your preferred editor and change the value for memory_limit
to whatever you need (like 1024M 😅) then restart your site.
The amount of allocated memory should be changed from 256MB to a 1GB. To verify this, set up a file with a single call to phpinfo()
and then view it in your editor.
Some Details
Local Flywheel Download
- Local configuration files in the
hbs
format are in Handlebars templates. - Local uses the PHP configuration for a given site based on the settings of the
php.ini.hbs
file – nothing you change at the system level will change this. - Random, fun(?) fact: Local was once Pressmatic that I covered several times when it first came out.
