#1
  1. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2013
    Posts
    46
    Rep Power
    2

    Php -r not working while installing composer


    First I'll just say that I'm totally new to PHP and I'm just trying to follow this tutorial

    http://phpixie.com/tutorials/download-instructions/

    Also I should mention that I'm trying to install this on my webhost.

    Instructions from tutorial:

    Code:
    cd /home/fairy/projects/
    php -r "eval('?>'.file_get_contents('http://getcomposer.org/installer'));"
    This is the error:

    Code:
    Error in argument 1, char 2: option not found r
  2. #2
  3. Transforming Moderator
    Devshed Supreme Being (6500+ posts)

    Join Date
    Mar 2007
    Location
    Washington, USA
    Posts
    14,122
    Rep Power
    9398
    That's not an error message from PHP. Are you sure you have it installed properly?

IMN logo majestic logo threadwatch logo seochat tools logo