Cakephp setup in dreamhost

Posted on   13-03-2016 18:54 by admin

composer setup


  1. Add phar

    [home]$ mkdir -p ~/.php/5.6

    [home]$ nano ~/.php/5.6/phprc

  2. Add this to the file you just created:

    extension =
    suhosin.executor.include.whitelist = phar

    Then save and quit (if using nano, Cntl+O, enter, Cntl+X)
  3. Add all these things to your ~/.bash_profile (it's in your home directory)

    export PATH=/usr/local/php54/bin:$PATH
    alias composer='php /home/myusername/bin/composer.phar'

  4. Try this:

    [home]$ curl -s | php

    You'll get this if it goes well: 
    #!/usr/bin/env php
    All settings correct for using Composer

    Composer successfully installed to: /home/yoursite/composer.phar
    Use it: php composer.phar


    click here on   12-07-2017 05:02
    Remarkable things here. I am very satisfied to peer your post. Thank you a lot and I am taking a look ahead to touch you. Will you please drop me a mail? click here

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.