Skip to content

Instantly share code, notes, and snippets.

@Johnnni
Johnnni / install_php_xdebug.sh
Last active October 15, 2024 13:37
Install and configure xdebug in PHP storm
#Update this to the version of PHP you want to use
PHP_VERSION=8.1
apt-get update && apt-get -y upgrade
apt-get install python3-launchpadlib -y
apt-get install software-properties-common -y
add-apt-repository -y ppa:ondrej/php
apt-get update
apt-get install -y php${PHP_VERSION}-xdebug