---
title: "Discussion on \"Ubuntu - Install PHP and Composer\" | Hashnode"
description: "Discussion on \"Ubuntu - Install PHP and Composer\". [1] Update Ubuntu\nsudo apt update\n\n[2] Install PHP CLI\nsudo apt install php-cli unzip\n\n[3] Install Composer\nChange directory to home.\nInstall Composer\ncd ~\ncurl -sS https://getcomposer.org/installer -o /tmp/composer-setup.php\n\nUsing curl, fetch the l..."
url: "https://hashnode.com/posts/ubuntu-install-php-and-composer/650a2e0700362282e74a06d7"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Ubuntu - Install PHP and Composer](https://mohamadrazzimy.hashnode.dev/ubuntu-install-php-and-composer?utm_source=hashnode&utm_medium=feed)

\[1\] Update Ubuntu sudo apt update \[2\] Install PHP CLI sudo apt install php-cli unzip \[3\] Install Composer Change directory to home. Install Composer cd ~ curl -sS https://getcomposer.org/installer -o /tmp/composer-setup.php Using curl, fetch the l...

Sep 19, 2023 · 1 min read · mohamadrazzimy.hashnode.dev  
Read the article

-   [#ubuntu](https://hashnode.com/tag/ubuntu)
-   [#php](https://hashnode.com/tag/php)
-   [#php-composer](https://hashnode.com/tag/php-composer)

## Written by

[Mohamad Mahmood](https://hashnode.com/@mohamadrazzimy)

@mohamadrazzimy · Kuala Lumpur, Malaysia

  
[View profile](https://hashnode.com/@mohamadrazzimy)

Programming (Mobile, Web, Database and Machine Learning). Studying at the Center For Artificial Intelligence Technology (CAIT), FTSM, UKM MY

Mohamad's interest is in Programming (Mobile, Web, Database and Machine Learning). He is studying at the Center For Artificial Intelligence Technology (CAIT), Universiti Kebangsaan Malaysia (UKM).

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
