php-cli

  1. gigaboy

    Install Composer Globally

    Using Ubuntu 22.04. Wanting to use OLS with PHP 8.2 & Maria 10.11. One of my apps requires the use of composer. However, all I can find is installing it by pre-installing php-cli, which then creates a separate instance of php outside of OLS. This leads to confusion and broken packages, a...
  2. I

    How do I change PHP CLI version?

    I am running OLS with CyberPanel. My question is related to OLS, so I am hoping someone here can assist. I am running into issues when use PHP CLI (PHP on the command line). I have install a website application that needs at least PHP 7.3 (I've got it on 7.4). It is a Composer project. I need...
  3. J

    Trying to install composer

    Hi! I've installed OpenLiteSpeed and LSPHP73 with appropriate packages for my application but I am trying to installer composer and had a few issues relating to not having direct access to the php CLI. I have tried running /usr/local/lsws/lsphp73/bin/php under a php alias to shorten the...
Top