Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

708
Vistas
"env: php: No such file or directory" on new mac OS Monterey

i've updated my mac os to Monterey (12) and then I can not use composer command or php command and get this error

env: php: No such file or directory
over 4 years ago · Santiago Trujillo
3 Respuestas
Responde la pregunta

0

macOS 12 (Monterey) removes the system provided PHP and you will need to install it yourself.

It is easy to install if you have brew installed. Simply run the following:

brew install php@7.4 brew-php-switcher

This will install the latest version of PHP 7.4 as well as a handy utility for switching between PHP versions if you need to.

Also try running - brew link php@7.4

over 4 years ago · Santiago Trujillo Denunciar

0

PHP has been removed from MacOS since v12 (Monterey), so you first need to install it on your own to use it. From my POV, the easiest way to do this is using Homebrew

over 4 years ago · Santiago Trujillo Denunciar

0

run brew install php , it will take php last version, then you will be be able to use php on your mac

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda