Skin:Chameleon/Installation

(Provided by User:Iantresman)

These instructions are significantly different to those at GitHub, but may work for some installations of MediaWiki 1.25 and greater that already have composer installed.


 * 1. Use an SSH client to connect to your server. eg. FireSSH.
 * If you already have FTP access, then you may find that your existing FTP username/pw are sufficient.
 * If you are unable to connect via SSH, and you have a server control panel, it may allow you to create and configure an SSH account. Otherwise, contact your hosting provider.
 * Once you connect to your server with SSH, you will see confirmation and a command line prompt, eg:
 * 2. To discover which directory you are current in, enter the bash command:  It will list the current subdirectories.
 * You may need to change directory several times to drill down to your require directory (this will be different for you), eg:
 * (the MediaWiki script directory)
 * 3. To check whether composer is installed, at the prompt, enter:
 * If composer is not installed, you will see a message: composer: command not found, and you will have to investigate how to create composer.phar
 * If composer is installed, you will see the composer logo in ascii art, and a summary of available commands.
 * 4. At the prompt, enter:
 * If it all goes well, you will see a number of responses ending without any errors.
 * If composer is installed, you will see the composer logo in ascii art, and a summary of available commands.
 * 4. At the prompt, enter:
 * If it all goes well, you will see a number of responses ending without any errors.

Click Expand to see a typical summary of successful responses:
 * The Chameleon skin should now be installed, and available in your MediaWiki preferences.
 * 5. Errors. Although you may be running MediaWiki under a particular version of PHP, it is possible that when you SSH to your server, that it runs under an earlier version (eg. 5.3.3) causing composer to generate an error, and the Chameleon installation to fail. In this case, you have to (a) select a later version of PHP (b) point to your composer executable directly:
 * Instead of entering:  Enter:
 * where:
 * is the full path to PHP v7
 * is the full path to the composer.phar executable.
 * You will need to discover the paths to your PHP and composer.phar on your server.