PECL::HTTP
Bot User-Agent:pecl-http
🤖 Overview
PECL::HTTP is a legitimate HTTP client user‑agent string automatically assigned by PHP scripts that use the PECL HTTP extension (version 2.x and earlier). This extension, maintained by the PHP Extension Community Library (PECL) and documented at https://pecl.php.net/package/pecl_http, provides a full-featured HTTP request/response interface for PHP applications. It is commonly employed by custom web scrapers, API consumers, and automated data‑gathering scripts written in PHP. While not a single bot, any script that calls the HttpRequest class or uses the procedural http_get() function will send the PECL::HTTP user‑agent unless explicitly overridden.
🌐 Technical Behavior
The PECL::HTTP agent makes standard HTTP/1.1 requests, typically without any special crawling logic. It respects redirects (up to a configurable limit, default 20) and supports all common HTTP methods: GET, POST, PUT, DELETE, etc. No fixed IP range exists because the source IP is that of the PHP server running the script—often a shared hosting environment or a private server. The request frequency depends entirely on the application code; a poorly written script may fire hundreds of requests per second, while a well‑behaved one will pace itself. Because it is a generic client library, there is no built‑in crawl pattern—it simply follows the instructions given by the PHP developer.
📋 robots.txt Compliance
The native PECL::HTTP extension does not automatically parse or honor robots.txt directives. Compliance is left entirely to the developer; the library provides hooks to retrieve robots.txt content and implement custom logic, but no default enforcement exists. According to the official PECL documentation (https://www.php.net/manual/en/book.http.php), the extension offers a HttpRequest::setOptions method that can be used to override user‑agent or add custom headers, but robots.txt handling is not part of the core feature set.
🔍 Detection Indicators
The primary detection indicator is the exact user‑agent string: PECL::HTTP (case‑sensitive). Some older versions of the extension may send PECL-HTTP or append a version number such as PECL::HTTP/2.0. Behavioural fingerprints include generic Accept headers (*/* or text/html,application/xhtml+xml,...) and a lack of typical browser headers like Accept-Language or Referer. The User-Agent header is almost never spoofed because developers using this extension typically trust the default string.
📊 Data Usage
Data collected by a script using the PECL::HTTP client is used according to the application’s purpose. Common uses include fetching web content for local processing, interacting with REST APIs, monitoring website changes, or aggregating product pricing. Because the library is a generic HTTP tool, the collected data may be stored, analyzed, or displayed without any central data policy—usage is entirely determined by the script author.
⚙️ Rate Limiting Policy
Webmasters should rate‑limit requests that present the PECL::HTTP user‑agent because it can be used by misconfigured or aggressive PHP scripts that ignore politeness standards. Rate‑limiting thresholds—for example, 10 requests per second per IP—protect server resources and prevent unintentional denial‑of‑service from legitimate but poorly written automated agents.
🛡️
Stop Bots. Save Bandwidth. Protect Revenue.
Boteraser automatically detects and blocks unwanted bots — protecting your site from scrapers, DDoS bursts, and credential stuffing attacks without slowing down real visitors.
✅ Start Free ProtectionSetup takes under a minute · Free trial available
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the bots listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.