For now it solves the check code (read/seek) but not the open syscall.
Dmitry
Stanislav Malyshev wrote:
Hi!
Probably for historical reason PHP supports shebang lines
(#! /usr/bin/php) on top of php files. Especially to handle them PHP
(CGI/FastCGI/CLI) opens file and check for it. So even with opcode
caches FastCGI PHP does open syscall for the requested script, however
with opcode caches it's absolutely useless.
In case PHP scanner will handle shebang lines itself, we will able to
save this syscall.
But for most cases you'd just do cgi.check_shebang_line=0 in php.ini and
that should solve the problem, not?
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php