#24491 [NEW]: Net_ping Operation not permitted
| From: | ad1 at poorman dot org | Date: | Fri, 04 Jul 2003 03:37:08 +0000 |
| Subject: | #24491 [NEW]: Net_ping Operation not permitted | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-17968@lists.php.net to get a copy of this message | ||
From: ad1 at poorman dot org
Operating system: FreeBSD 4.8Rc1
PHP version: 4.3.1
PHP Bug Type: PEAR related
Bug description: Net_ping Operation not permitted
Description:
------------
PEAR/Net_Ping don't implement right argument.
<?php
require_once 'Net/Ping.php' ;
$ping = new Net_Ping;
var_dump($ping->ping("168.95.1.1"));
?>
when I run in FreeBSD 4.8. user ROOT it return
"
ping: illegal option -- w
usage: ping [-AQRadfnqrv] [-c count] [-i wait] [-l preload] [-m ttl]
[-p pattern] [-P policy] [-s packetsize] [-S src_addr] [-t
timeout]
[host | [-L] [-I iface] [-T ttl] mcast-group]
string(14) "HOST_NOT_FOUND"
"
when I run use user account , it return
"
ping: -s flag: Operation not permitted
string(14) "HOST_NOT_FOUND"
"
--
Edit bug report at http://bugs.php.net/?id=24491&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=24491&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=24491&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=24491&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=24491&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=24491&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=24491&r=support
Expected behavior: http://bugs.php.net/fix.php?id=24491&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=24491&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=24491&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=24491&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24491&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=24491&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=24491&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=24491&r=gnused