Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

README.md

PHP

macOS Intune

Overview

Installs the PHP CLI environment via Homebrew, required for backend web development stacks.

What it does

  • Detection: Checks if php is present in the local Homebrew cellar.
  • Privilege Dropping: Bypasses the Intune root execution by dynamically finding the active console user and assuming their identity via sudo -u.
  • Remediation: Silently compiles/installs the php formula and its core extensions natively on Apple Silicon/Intel.

Intune Deployment Configuration

  • Upload script: install-php.sh
  • Run script as signed-in user: No (Script manages identity switching internally)