Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
lde-for-ubuntu [2025/12/08 09:16] – [Composer Installation] kkaragozlde-for-ubuntu [2025/12/08 09:48] (current) – [Installing PHP and Required Modules] kkaragoz
Line 21: Line 21:
  
 <code bash> <code bash>
-sudo apt install -y php8.4 php8.4-fpm php8.4-cli php8.4-gd php8.4-mbstring php8.4-xml php8.4-zip php8.4-intl+sudo apt install -y php8.4 php8.4-fpm php8.4-cli php8.4-gd php8.4-mbstring php8.4-xml php8.4-zip php8.4-intl php8.4-pdo php8.4-mysql
  
  
Line 167: Line 167:
 php composer-setup.php php composer-setup.php
 </code> </code>
 +
 +It should return the following message:
 +
 +<code bash>
 +All settings correct for using Composer
 +Downloading...
 +
 +Composer (version 2.9.2) successfully installed to: /home/USER/composer.phar
 +Use it: php composer.phar
 +</code>
 +
  
 == 4. Delete (Unlink) the File == == 4. Delete (Unlink) the File ==
Line 177: Line 188:
 <code bash> <code bash>
 sudo mv composer.phar /usr/local/bin/composer sudo mv composer.phar /usr/local/bin/composer
 +</code>
 +
 +== 6. Test the Installation ==
 +<code bash>
 +composer --version
 +</code>
 +
 +You need to see something similar like:
 +<code bash>
 +Composer version 2.9.2 2025-11-19 21:57:25
 +PHP version 8.4.15 (/usr/bin/php8.4)
 +Run the "diagnose" command to get more detailed diagnostics output.
 </code> </code>
Back to top