PhpStorm PHP Interpreter Is Not Configured

Share
Workaround available Windows, macOS, Linux Updated November 14, 2026Based on 3 user reportsHow we research

Quick answer

Add an interpreter under Settings | PHP (local PHP, Docker, WSL or remote) and set the language level. Docker Compose interpreters need the Docker integration working.

Most likely fix: Add a local interpreter

How to fix it

Try these in order — the most common fix is first.

  1. 1. Add a local interpreter

    1. Open Settings | PHP
    2. Next to CLI Interpreter click ... and add a Local Path to the php executable
    3. Press the refresh icon to confirm the version is detected
    Did this fix it?
  2. 2. Use Docker or WSL

    1. In the same dialog pick From Docker, Vagrant, VM, WSL, Remote
    2. Choose Docker Compose or WSL and the service or distro
    3. Check Docker is running
    Did this fix it?
  3. 3. Set the language level

    1. Settings | PHP | PHP language level
    2. Match it to your runtime version
    Did this fix it?

Symptoms

A banner says "PHP interpreter is not specified or invalid", run configurations fail, or inspections and Composer actions are disabled.

Why it happens

  • No CLI interpreter set for the project
  • php binary not on PATH or the path changed after an update
  • Docker or WSL interpreter unreachable
  • Project language level does not match the PHP version

This guide also covers

  • phpstorm php interpreter not configured
  • phpstorm cli interpreter
  • phpstorm php not found

Still not working?

If PhpStorm keeps failing, you're not alone. See every PhpStorm problem users report or the alternatives people switch to.

Have an app idea? Our small team builds any software: web and mobile apps, games, desktop, AI tools. Price agreed together.

Talk to us
Fixed it? Share this guide

Other PhpStorm errors

All 10 PhpStorm errors and fixes →