codez
codez

Reputation: 1391

How to get Apache request thread handle number with PHP?

How to get Apache request thread handle number of current executing PHP script in that script?

Platform: Windows, PHP<5.3

Upvotes: 1

Views: 2618

Answers (1)

Thomas Winsnes
Thomas Winsnes

Reputation: 1961

http://php.net/manual/en/function.getmypid.php

getmypid() should give you the handle id/ process id (pid)

Upvotes: 2

Related Questions