Want to subscribe to topics you're interested in?
Become a Member

Sysadmin Path to php-cli

Discussion in 'System Administration' started by steph40, Mar 22, 2019.

  1. steph40

    steph40 Premium Member Premium Member

    29
    8
    3
    Jan 28, 2019
    Ratings:
    +11
    Local Time:
    11:08 AM
    1.1.5
    mariadb 10
    I am setting up akkeba solo pro for backups and I need the path for php-cli for cron backup.
    I am a little confuse with all the php folder in /usr/local is it php, bin, lib?

    Thank you
     
  2. eva2000

    eva2000 Administrator Staff Member

    39,777
    8,774
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +13,505
    Local Time:
    1:08 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    use which command to find path to binary
    Code (Text):
    which php
    /usr/local/bin/php
    
    which php-fpm
    /usr/local/sbin/php-fpm
    
    which php-cgi
    /usr/local/bin/php-cgi
    
     
    • Informative Informative x 2
    • Winner Winner x 1
  3. steph40

    steph40 Premium Member Premium Member

    29
    8
    3
    Jan 28, 2019
    Ratings:
    +11
    Local Time:
    11:08 AM
    1.1.5
    mariadb 10
    Thank you
     
..