I have an application written in PHP, and i'm trying to not to convert it to Java (for its locking functionality), and possibly do it somehow with PHP.
maybe PHP and Java.
My needs are that if 20 users are accessing the system, instead of having 20 DB connections, i can have 1, 3, 5, 10 or whatever the case.
A constantly running request handler. This is also knows to some as process forking, to fork a process into child processes.
In other words, is it possible to run a PHP background process that can handle requests?
Through what i know of PHP, this is not possible, but i'm not 100% sure.
Let me know how i can achive this, or with any other technology? Java and PHP get along good?
There was a question about calling a Java function from PHP that went unanswered, so I'm not holding my breath.
thanks guys,
DM