Skip to main content

PHP Extensions

LaraEnv lets you manage extensions and edit php.ini independently for each PHP version.

Toggle bundled extensions

Each PHP version ships with a set of bundled extensions you can turn on or off from the app. When you toggle an extension, LaraEnv rewrites the active php.ini for that version accordingly.

Common extensions you might enable include intl, gd, redis, and pdo_pgsql.

Edit php.ini directly

You can edit php.ini directly in an in-app editor and save your changes. The file for a given version lives at:

C:\laraenv\php\<version>\php.ini

Install PECL extensions

For extensions that aren't bundled, you can install PECL extensions or fetch extension DLLs for a specific version from within the app.

Apply your changes

After toggling extensions or editing php.ini, reload PHP-FPM (or restart the web server) for the changes to take effect.

note

Each version has its own php.ini and its own PHP-FPM pool, so changes apply only to the version you edited.

See also

  • PHP — versions, switching, and PHP-FPM pools
  • Tuning — limits like memory_limit and upload sizes