Use composer on comandline
Last edit: 21:52, 8 January 2014
This is related to Installation. On my WINDOWS 2003 Server using
C:\MYPATH\maintenance>php composer.phar require mediawiki/semantic-media-wiki "1.9.*,>=188.8.131.52" Could not open input file: composer.phar C:\MYPATH\maintenance>
did not work. But
composer require mediawiki/semantic-media-wiki "1.9.*,>=184.108.40.206"
did the job. Composer was installed the INSTALLER way as told here. http://getcomposer.org/doc/00-intro.md#installation-windows
Either one can only install Composer on Windows globally (most likely as it looks in this case) or you installed Composer on Windows globally. Yeah, in this case you must drop the
.phar particles from the command. It is possible to install Composer on e.g. on Linux globally too but the installation manual is indended too which is probably the best way if you have more than one wiki on your machine. The docu is indended to be as basic as possible. That's why I did not want to confuse people with even more steps.
Good anyway that you pointed this out for others.