note 91224 added to ref.pcntl

From: Date: Sun, 31 May 2009 12:57:24 +0000
Subject: note 91224 added to ref.pcntl
Groups: php.notes 
Request: Send a blank email to php-notes+get-156196@lists.php.net to get a copy of this message
By default pcntl library is not enabled on web server installation. In order to use pcntl_fork() function you need to compile and enable pcntl.so module. That is pretty easy on Ubuntu. Login as superuser Firstly install the php5-dev package: apt-get install php5-dev Create a temporary folder and get php sources mkdir php cd php apt-get source php5 Then go into the extension directory. cd php5-5.1.2/ext/pcntl Compile the extension phpize ./configure make Copy the extension cp modules/* /usr/lib/php5/20051025/ Your php5 library directory might be named something else. Restart Apache apache2 -k restart ---- Server IP: 195.54.192.44 Probable Submitter: 217.172.29.103 ---- Manual Page -- http://www.php.net/manual/en/ref.pcntl.php Edit -- https://master.php.net/note/edit/91224 Del: integrated -- https://master.php.net/note/delete/91224/integrated Del: useless -- https://master.php.net/note/delete/91224/useless Del: bad code -- https://master.php.net/note/delete/91224/bad+code Del: spam -- https://master.php.net/note/delete/91224/spam Del: non-english -- https://master.php.net/note/delete/91224/non-english Del: in docs -- https://master.php.net/note/delete/91224/in+docs Del: other reasons-- https://master.php.net/note/delete/91224 Reject -- https://master.php.net/note/reject/91224 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#156196) next »