On Fri, 29 Oct 2004 21:45:24 +0200, Christian Ista <[EMAIL PROTECTED]> wrote:
> > php -c /path/to/php.ini
> 
> Could you explain ??

This is how you specify which php.ini file to use with a cgi binary
php.  Is that not what you asked?

When you use php as a cgi binary (not as mod_php) you can run php a
couple of ways:

1) command line:

php -c /path/to/php.ini -r "echo 'Hello World';"

2) command line scripts:

#!/usr/bin/php -c /path/to/php.ini
<?php
    echo 'Hello world';
?>


-- 
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to