#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2013
    Posts
    26
    Rep Power
    0

    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. Come play with me!
    Devshed Supreme Being (6500+ posts)

    Join Date
    Mar 2007
    Location
    Washington, USA
    Posts
    13,742
    Rep Power
    9397
    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