Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Php Cli & Cpanel

Discussion in 'General Discussion' started by metroservers, Jan 21, 2008.

  1. metroservers

    metroservers Registered

    Jan 6, 2008
    Likes Received:
    Trophy Points:
    Im trying to get PHP CLI work for a special purpose, however my machine is no
    resonding to CLI commans:

    for ex:

    echo '<?php echo "test\n"; ?>' | php -q

    does not output anything can anyone help me with this issue?

    php -v
    PHP 5.2.5 (cli) (built: Jan 21 2008 18:22:31)
    Copyright (c) 1997-2007 The PHP Group
    Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
    with the ionCube PHP Loader v3.1.32, Copyright (c) 2002-2007, by ionCube Ltd., and
    with Zend Extension Manager v1.2.0, Copyright (c) 2003-2007, by Zend Technologies
    with Zend Optimizer v3.3.0, Copyright (c) 1998-2007, by Zend Technologies

Share This Page