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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: harshad dot yeola at rtcamp dot com
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2026 The PHP Group
All rights reserved.
Last updated: Thu Oct 08 09:00:02 2026 UTC