PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Thursday, November 10, 2022

[FIXED] How to install/use Composer without SSH

 November 10, 2022     composer-php, php     No comments   

Issue

guys I have a shared hosting and I can't use SSH or call shells with php (shell_exec),for security reasons, I can't upgrade my server for money problems...But i need to install Composer, and work with an SDK for finish my project?Is there any way to install/use composer without SSH? I have read about install Composer offline, and then upload the contents on the server, but i don't think that this work... Thanks for read! Hope that you all'll have a nice day!


Solution

As You Said You Want to Install Composer Without SSH then In that case you Have to install it in your local system than after you can easily upload it using FTPand its Works if your host is supported !!


Steps For Shared Hosting Using FTP::

  • First Download Php Shell From Here: http://phpshell.sourceforge.net/
  • In PHPShell's config.php Add User & alias:

    php = "php -d suhosin.executor.include.whitelist=phar"

  • Login to PHPShell & Type: curl -sS https://getcomposer.org/installer | php

  • After Successfully installed, Just Run Composer: php composer.phar



Answered By - RïshïKêsh Kümar
Answer Checked By - Gilberto Lyons (PHPFixing Admin)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

1,214,657

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © 2025 PHPFixing