Ciao a tutti,
Vorrei sapere se sul mio sito che ho qui su altervista, posso installare Composer che mi servirebbe per poi installare tutte le dipendenze necessarie per vari progetti in PHP?
Printable View
Ciao a tutti,
Vorrei sapere se sul mio sito che ho qui su altervista, posso installare Composer che mi servirebbe per poi installare tutte le dipendenze necessarie per vari progetti in PHP?
Hai sbloccato le connessioni server to server?
Appare qualche errore?
Ciao!
In realtà il mio problema era proprio capire se si poteva installare e dalla tua risposta deduco di sì.
Ora però viene la parte complicata: seguendo la guida di installazione
Ora volendolo installare solamente in una cartella locale, dovrei eseguire l'installer. L'ho caricato tra i file della cartella su Altervista, ma ora non so come eseguirlo.Citazione:
Installation - Linux / Unix / OSX#
Downloading the Composer Executable#
Composer offers a convenient installer that you can execute directly from the commandline. Feel free to download this file or review it on GitHub if you wish to know more about the inner workings of the installer. The source is plain PHP.
There are in short, two ways to install Composer. Locally as part of your project, or globally as a system wide executable.
Locally#
Installing Composer locally is a matter of just running the installer in your project directory. See the Download page for instructions.
The installer will just check a few PHP settings and then download composer.phar to your working directory. This file is the Composer binary. It is a PHAR (PHP archive), which is an archive format for PHP which can be run on the command line, amongst other things.
Now just run php composer.phar in order to run Composer.
You can install Composer to a specific directory by using the --install-dir option and additionally (re)name it as well using the --filename option. When running the installer when following the Download page instructions add the following parameters:
php composer-setup.php --install-dir=bin --filename=composer
Now just run php bin/composer in order to run Composer.