<div dir="ltr"><font color="#333399"><font><font face="tahoma,sans-serif">[SOLVED]<br><br><font>I made my code in window<font>s and run it in linux, <font>so my new line <font>in windows is \r\n<font>. I changed i<font>t to \n. it's wor<font>k.</font></font></font></font></font></font></font></font></font></font><br>
<br><div class="gmail_quote">On Wed, Jan 30, 2013 at 6:13 PM, giovanni.v <span dir="ltr"><<a href="mailto:iax@keybits.org" target="_blank">iax@keybits.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Il 30/01/2013 7.57, Muhammad ha scritto:<div class="im"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
php -h gives me some parameter except -q<br>
</blockquote>
<br></div>
The php cli starts silent by default so the -q option isn't required. It was kept for compatibility but not sure up to which php version.<br>
<br>
It is necessary to stop http headers output if you are using the php-cgi binary.<br>
<br>
This is the version and help output from php-cgi in my appliance...<br>
[debug!]# /usr/bin/php-cgi -v<br>
PHP 5.3.6 (cgi-fcgi) (built: Jan 19 2013 21:59:29)<br>
Copyright (c) 1997-2011 The PHP Group<br>
Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies<br>
<br>
[debug!]# /usr/bin/php-cgi -h<br>
Usage: php-cgi [-q] [-h] [-s] [-v] [-i] [-f <file>]<br>
php-cgi <file> [args...]<br>
-a Run interactively<br>
-b <address:port>|<port> Bind Path for external FASTCGI Server mode<br>
-C Do not chdir to the script's directory<br>
-c <path>|<file> Look for php.ini file in this directory<br>
-n No php.ini file will be used<br>
-d foo[=bar] Define INI entry foo with value 'bar'<br>
-e Generate extended information for debugger/profiler<br>
-f <file> Parse <file>. Implies `-q'<br>
-h This help<br>
-i PHP information<br>
-l Syntax check only (lint)<br>
-m Show compiled in modules<br>
-q Quiet-mode. Suppress HTTP Header output.<br>
^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^<u></u>^^^^^^^^^^^<br>
-s Display colour syntax highlighted source.<br>
-v Version number<br>
-w Display source with stripped comments and whitespace.<br>
-z <file> Load Zend extension <file>.<br>
-T <count> Measure execution time of script repeated <count> times.<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
-- <br>
TeeBX VoIP communication platform (coming soon)<br>
<a href="http://code.google.com/p/teebx/" target="_blank">http://code.google.com/p/<u></u>teebx/</a><br>
------------------------------<u></u>-----------------<br>
Lightweight++ Business Friendly++ Open++</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
--<br>
______________________________<u></u>______________________________<u></u>_________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/<u></u>mailman/listinfo/asterisk-<u></u>users</a><br>
</div></div></blockquote></div><br></div>