php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #68011 wrong documentation on manual page
Submitted: 2014-09-12 12:43 UTC Modified: 2014-09-12 17:26 UTC
From: harshad dot yeola at rtcamp dot com Assigned:
Status: Not a bug Package: Documentation problem
PHP Version: 5.5.16 OS: Ubuntu 14.04.1 x86_64
Private report: No CVE-ID: None
 [2014-09-12 12:43 UTC] harshad dot yeola at rtcamp dot com
Description:
------------
"man php" command shows option to use --bindpath <address>:<port> and -r to run php code without script tags.

but when executed following command, shows usage : which does not include --bindpath or -b option.  

Test script:
---------------
php --bindpath 127.0.0.1:9000 -r 'echo "hello";'


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-09-12 17:26 UTC] aharvey@php.net
-Status: Open +Status: Not a bug
 [2014-09-12 17:26 UTC] aharvey@php.net
As the man page says, that only applies to the CGI binary (usually php-cgi), not the CLI binary.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 18:01:29 2024 UTC