Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save andrepgsilva/051eae5ca040396912407c7dd7fe9295 to your computer and use it in GitHub Desktop.
Save andrepgsilva/051eae5ca040396912407c7dd7fe9295 to your computer and use it in GitHub Desktop.
Install PHP 8.3 and XDebug
sudo add-apt-repository ppa:ondrej/php
sudo apt install -y php8.3 php8.3-dev php8.3-cli php8.3-common php8.3-mbstring php8.3-xml php8.3-bcmath php8.3-curl php8.3-mysql php8.3-zip php8.3-tokenizer php8.3-readline php8.3-intl php8.3-gd php8.3-pgsql php8.3-sqlite3 php8.3-xml php8.3-xdebug unzip
sudo vim /etc/php/8.3/cli/conf.d/xdebug.ini
Place this code inside the file:
[xdebug]
xdebug.mode=coverage,debug
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment