Results 1 to 4 of 4

Thread: path to the PHP CLI executable

  1. #1
    omarfilip's Avatar
    omarfilip is offline Nearly a Master Glow Jedi
    Join Date
    Jan 2008
    Location
    Dallas, TX
    Posts
    127

    Default path to the PHP CLI executable

    What is the path to the PHP CLI executable?

    Thanks,
    Omar

  2. #2
    sergey is offline Master Glow Jedi
    Join Date
    Aug 2005
    Posts
    472

    Default

    The path to PHP CLI is /usr/local/bin/php.

  3. #3
    omarfilip's Avatar
    omarfilip is offline Nearly a Master Glow Jedi
    Join Date
    Jan 2008
    Location
    Dallas, TX
    Posts
    127

    Default

    Thanks Sergey.

    Do you know what the -q switch means:

    #!/usr/bin/php -q

  4. #4
    jmarcv's Avatar
    jmarcv is offline Cranky Coder
    Join Date
    Jan 2005
    Posts
    354

    Default

    Do you know what the -q switch means:
    Nothing anymore. Used to be for quiet mode, but thats now the default. It was kept for compatibility using older CGI scripts.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14