PHP cheatsheet ( linux)
In progress...
High-level plan:
- Update system
- Install PHP (modern version) + essential extensions
- Install Composer (PHP’s dependency manager)
- Install Laravel (PHP framework)
- Test the environment
Note: This was done on Ubuntu 24.04 with root/sudo access
Update the system
- sudo apt update
- sudo apt upgrade -y
Install PHP (modern version) + essential extensions
- check if php exists with php -v
Laravel-ready minimal” set:
sudo apt install -y php8.3-cli php8.3-fpm php8.3-mbstring php8.3-xml php8.3-curl php8.3-zip php8.3-sqlite3 php8.3-mysql php8.3-bcmath php8.3-gd php8.3-intl
