suphp fast cgi

PHP 5.2.17 (cgi-fcgi) (built: Mar 11 2011 11:26:24)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
with the ionCube PHP Loader v4.0.7, Copyright (c) 2002-2011, by ionCube Ltd.
 
PHP 5.2.17 (cgi-fcgi) with SuPHP is running..
I installed it for riverdance with php.ini for every user..
I checked on 11-03-2011 and everthing is working ok.
When u login as root or admin then u get alway's PHP CLI
i'm installed also custom templates for automatic create php.ini in account map.
Everybody knows its 1 á 2 hours work on a standard system, and now she don't belive it its working.
The same with ATmail.. there was a error with logs.
cp: cannot stat `/var/www/html/atmail/logs/*': No such file or directory
I tell when ATmail don't have make log then there is nothing to copy.
ATmail used /var/log/exim/mainlog and not in /var/www/html/atmail/logs/
I explain that many times, riverdance think she have to reinstall ATmail or DirectAdmin for get log files back to /var/www/html/atmail/logs/
Maby can someone explain it to riverdance :)
 
But when a do php -v in SSH, its says:
Code:
PHP 5.2.17 (cli) (built: Mar 11 2011 11:27:30)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
    with the ionCube PHP Loader v4.0.7, Copyright (c) 2002-2011, by ionCube Ltd.
Its says PHP 5.2.17 (cli)

Im running fast CGI?

Why it says cli with php -v?
Because when you log in from the command line you get php running on the command line. That's what cli means:

Command Line Interface

To see the version information when running under CGI (Common Gateway Interface) you'll need to write a short php webpage which prints out the version information, and call it from your browser.

Jeff
 
Back
Top