bruno67 Posted September 14, 2007 Share Posted September 14, 2007 Hi, which is the cleanest way to know how many instances of a certain php are currently working on the server? is there a server variable for that? if not, how do I know (via php) how many concurrent accesses are there on a certain php page? PS: I know how to do that for mysql (the "SHOW PROCESSLIST" command), but I need a similar function for the php page iself. thank you so much for your help Quote Link to comment https://forums.phpfreaks.com/topic/69342-how-many-instances-are-working/ Share on other sites More sharing options...
cooldude832 Posted September 14, 2007 Share Posted September 14, 2007 Well since a script generally runs in <1 second this data would seem sort of pointless right? Php isn't designed for a concurrent script, its more like get it done and die. Quote Link to comment https://forums.phpfreaks.com/topic/69342-how-many-instances-are-working/#findComment-348408 Share on other sites More sharing options...
bruno67 Posted September 14, 2007 Author Share Posted September 14, 2007 the php I'm talking about works for 5 minutes, so it definitely IS crucial to me to know how many instances of the same page are working Quote Link to comment https://forums.phpfreaks.com/topic/69342-how-many-instances-are-working/#findComment-348415 Share on other sites More sharing options...
cooldude832 Posted September 14, 2007 Share Posted September 14, 2007 What do u have that works for five minutes, and if that is the case I'm assuming its a lan/intranet sorta deal and not a public site Quote Link to comment https://forums.phpfreaks.com/topic/69342-how-many-instances-are-working/#findComment-348432 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.