Multithreading in PHP -
i read http://php.net/pcntl , woundering how functions works , if smart use multithreading in php since isn't core function of php.
i want trigger events don't require feedback through fireing cronjob execution manually.
all of supposed run in web app written zend framework
the pcntl package works quite fine - uses according unix functions. shortage can't use them if php invoked web server context. i.e. can use in shell scripts, not on web pages - @ least not without using hack calling forking script exec or similar.
[edit] found page explaining why mod_php cannot fork. it's security issue. [/edit]
Comments
Post a Comment