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

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -