SMRTR ProgrammingJan 10, 2025Dev.to

How to Fix the "PHP Not Found" Error on macOS After Installing XAMPP

SMRTR summary

The article provides instructions to fix the "PHP not found" error on macOS when using XAMPP. It guides users through adding XAMPP's PHP directory to the system's PATH for global access to PHP. Solutions are given for both Zsh and Bash shells, including editing configuration files and verifying the installation. It also suggests using Homebrew as an alternative method to install PHP system-wide, helping developers resolve this common issue efficiently.

SMRTR provides this summary for quick context. The original article belongs to Dev.to.

Read the original article
SMRTR Programming

Get the next batch of curated stories in your inbox.

This archive is built from SMRTR newsletter stories. Subscribe for hand-picked stories without the extra noise.

Related Stories

Browse Programming
ProgrammingAug 24, 2026

Programming Paradigms

A structured roadmap for experienced developers to move beyond language familiarity and genuinely master the four core programming paradigms.