1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Running php as cli (mod_php)

Discussion in 'Site & Server Administration' started by ASTRAPI, Jul 15, 2009.

  1. #1
    Hello

    What i must do to run php as cli (mod_php) ?

    I havve Direct admin as panel.


    Thank you
     
    ASTRAPI, Jul 15, 2009 IP
  2. vasyl

    vasyl Peon

    Messages:
    139
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #2
    this mode is default in the most cases - opposite to php-fcgi
     
    vasyl, Jul 15, 2009 IP
  3. ASTRAPI

    ASTRAPI Guest

    Messages:
    500
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Maybe i did a mistake how can i check in wich mode i run it now?
     
    ASTRAPI, Jul 15, 2009 IP
  4. RoseHosting

    RoseHosting Active Member

    Messages:
    156
    Likes Received:
    8
    Best Answers:
    8
    Trophy Points:
    88
    #4
    From a shell, typing php -v will tell you whether php is CGI or CLI.
     
    RoseHosting, Jul 15, 2009 IP