P
PHP
PHP runtime environment
About this crawler
PHP is a web crawler identified by the regular-expression pattern ^PHP/ in the User-Agent request header. It is categorised as http-library. Use the regex above to detect, log, allow, or block PHP traffic in your web server, CDN edge rules, or robots.txt.
Block-rate · top 25k sites
0.065%
Technical details
- Name
- PHP
- Pattern
^PHP/- Tags
- http-library
- Added
- 2026/05/09
- Instances
- 1 known sample(s)
Sample User-Agent strings
PHP/5.5
Block this crawler
robots.txt — disallow PHP:
User-agent: PHP
Disallow: /
Apache .htaccess — return 403:
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} ^PHP/ [NC]
RewriteRule .* - [F,L]
Nginx — return 403 inside a server block:
if ($http_user_agent ~* "^PHP/") {
return 403;
}
← back to all crawlers