Welcome to Centmin Mod Community
Register Now

More AWS strangeness

Discussion in 'Bug Reports' started by Sean, Nov 4, 2015.

  1. Sean

    Sean New Member

    16
    2
    3
    Oct 23, 2015
    Ratings:
    +8
    Local Time:
    8:37 PM
    1.8
    not using Maria yet
    Hi,

    Hope this helps someone.

    php -v
    returns command not found
    do this
    ln -s /usr/local/bin/php /bin/php

    nginx -v
    returns command not found
    edit /root/.bashrc
    export PATH="/usr/lib64/ccache:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin"

    The addition is :/usr/local/sbin

    Log out and back in and you should be good to go.

    The php part causes Menu Item 22 WordPress + SuperCache to fail as WP_Cli can't find php/php-cli.

    Hope that helps.

    BR,
    Sean
     
    • Informative Informative x 1
  2. eva2000

    eva2000 Administrator Staff Member

    30,178
    6,786
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,139
    Local Time:
    10:37 AM
    Nginx 1.13.x
    MariaDB 5.5
    weird sounds like another version of php is installed via maybe AWS yum ?

    what does these commands output for you (without the symlink workarounds)

    Code:
    ls -lah /bin/php
    which php
    yum list php* --disableplugin=priorities
    yum list nginx* --disableplugin=priorities
     
    and with workarounds
    Code:
    php -v
    nginx -V
    which OS you using on Amazon EC2 ?
     
  3. Chris

    Chris Member

    33
    4
    8
    Feb 27, 2015
    Ratings:
    +6
    Local Time:
    8:37 PM
    1.7
    10
    I'm highly tempted to switch to AWS...any advice?
     
  4. eva2000

    eva2000 Administrator Staff Member

    30,178
    6,786
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,139
    Local Time:
    10:37 AM
    Nginx 1.13.x
    MariaDB 5.5
  5. Chris

    Chris Member

    33
    4
    8
    Feb 27, 2015
    Ratings:
    +6
    Local Time:
    8:37 PM
    1.7
    10
    I use Linode currently...I've been looking at combining my 4 linodes which use SSL into 1.
    Since now you can get multiple IP's.
     
  6. Sean

    Sean New Member

    16
    2
    3
    Oct 23, 2015
    Ratings:
    +8
    Local Time:
    8:37 PM
    1.8
    not using Maria yet
    Chris,

    I love AWS. Just my humble opinion, but you get to say things to clients like, "Netflix and blah and blah are on AWS!" It's a great selling point. Plus if I turn a vps off no charge. The downside is that the console has hundreds of pages. It is a giant echosystem, but I think most people would be fine knowing the EC2 part (VPS), Route53 (DNS), Loadbalancing, the DB section, the Cache section (Redis and Memcache).

    There's a lot more. You can have virtual desktops on AWS, calendaring email and more.

    One of the things I have noticed about IT and web folks is that we are curious about things. AWS will help satify that curiousity for a long time.

    BR,
    Sean

    P.S. They have a free tier where you can try out low resource instances for a year.
    Free Cloud Services – AWS Free Tier
    Have fun!
     
    • Informative Informative x 1