<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Linux Forum &mdash; Как прикрутить модуль CLI (pcntl) на php]]></title>
		<link>https://linuxforum.ru/viewtopic.php?id=34806</link>
		<atom:link href="https://linuxforum.ru/extern.php?action=feed&amp;tid=34806&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «Как прикрутить модуль CLI (pcntl) на php».]]></description>
		<lastBuildDate>Wed, 07 May 2014 12:18:23 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Как прикрутить модуль CLI (pcntl) на php]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=408074#p408074</link>
			<description><![CDATA[<p>Сделайте.</p>]]></description>
			<author><![CDATA[null@example.com (kisil)]]></author>
			<pubDate>Wed, 07 May 2014 12:18:23 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=408074#p408074</guid>
		</item>
		<item>
			<title><![CDATA[Re: Как прикрутить модуль CLI (pcntl) на php]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=408073#p408073</link>
			<description><![CDATA[<p>Всё нашёл, работает.</p><p>Короче надо мануал самому написать, многим полезно будет...</p>]]></description>
			<author><![CDATA[null@example.com (Drugpunker)]]></author>
			<pubDate>Wed, 07 May 2014 12:16:29 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=408073#p408073</guid>
		</item>
		<item>
			<title><![CDATA[Re: Как прикрутить модуль CLI (pcntl) на php]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=408071#p408071</link>
			<description><![CDATA[<p>Та на странице что загрузилась в браузере просто Ctrl+F&nbsp; и ищите строку &quot;pcntl&quot;</p>]]></description>
			<author><![CDATA[null@example.com (kisil)]]></author>
			<pubDate>Wed, 07 May 2014 12:14:39 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=408071#p408071</guid>
		</item>
		<item>
			<title><![CDATA[Re: Как прикрутить модуль CLI (pcntl) на php]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=408070#p408070</link>
			<description><![CDATA[<div class="quotebox"><cite>kisil пишет:</cite><blockquote><p>ТС ну как там дела. Я проделал так же как и вы тока без make install, я библиотеку ручками копировал, и у меня&nbsp; phpinfo() показывает<br /></p><div class="codebox"><pre><code>pcntl support    enabled</code></pre></div></blockquote></div><p>А под какой шапкой смотреть, что-то не нашёл?</p>]]></description>
			<author><![CDATA[null@example.com (Drugpunker)]]></author>
			<pubDate>Wed, 07 May 2014 12:12:45 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=408070#p408070</guid>
		</item>
		<item>
			<title><![CDATA[Re: Как прикрутить модуль CLI (pcntl) на php]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=408069#p408069</link>
			<description><![CDATA[<div class="quotebox"><cite>kisil пишет:</cite><blockquote><p>pcntl support&nbsp; &nbsp; enabled</p></blockquote></div><p>сейчас посмотрю тоже</p>]]></description>
			<author><![CDATA[null@example.com (Drugpunker)]]></author>
			<pubDate>Wed, 07 May 2014 12:09:34 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=408069#p408069</guid>
		</item>
		<item>
			<title><![CDATA[Re: Как прикрутить модуль CLI (pcntl) на php]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=408068#p408068</link>
			<description><![CDATA[<p>Ура, ошибка в логах Apache пропала.</p><p>СПАСИБО ОГРОМНОЕ.</p><p>Теперь снесу и установлю заново...чтобы закрепить</p>]]></description>
			<author><![CDATA[null@example.com (Drugpunker)]]></author>
			<pubDate>Wed, 07 May 2014 12:08:40 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=408068#p408068</guid>
		</item>
		<item>
			<title><![CDATA[Re: Как прикрутить модуль CLI (pcntl) на php]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=408067#p408067</link>
			<description><![CDATA[<p>ТС ну как там дела. Я проделал так же как и вы тока без make install, я библиотеку ручками копировал, и у меня&nbsp; phpinfo() показывает<br /></p><div class="codebox"><pre><code>pcntl support    enabled</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (kisil)]]></author>
			<pubDate>Wed, 07 May 2014 12:08:11 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=408067#p408067</guid>
		</item>
		<item>
			<title><![CDATA[Re: Как прикрутить модуль CLI (pcntl) на php]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=408064#p408064</link>
			<description><![CDATA[<p>Во верно. Теперь зайдите вот в эту директорию<br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">/home/drugpunker/php/ext/pcntl/modules/</div><br />Скопируйте pcntl.so в директорию с разширениями php<br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">cp&nbsp; pcntl.so /usr/lib/php5/20121212/pcntl.so</div><br />Поправте конфиг&nbsp; ПХП как в мануале. перезапустите апач и потом аж<br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">php -m | grep&nbsp; pcntl</div></p>]]></description>
			<author><![CDATA[null@example.com (kisil)]]></author>
			<pubDate>Wed, 07 May 2014 11:52:24 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=408064#p408064</guid>
		</item>
		<item>
			<title><![CDATA[Re: Как прикрутить модуль CLI (pcntl) на php]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=408061#p408061</link>
			<description><![CDATA[<p>Нет pcntl в библиотеке&nbsp; <img src="https://linuxforum.ru/extensions/bbcode_smiles/img/ak.gif" alt="ak" /></p>]]></description>
			<author><![CDATA[null@example.com (Drugpunker)]]></author>
			<pubDate>Wed, 07 May 2014 11:47:51 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=408061#p408061</guid>
		</item>
		<item>
			<title><![CDATA[Re: Как прикрутить модуль CLI (pcntl) на php]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=408060#p408060</link>
			<description><![CDATA[<div class="quotebox"><cite>kisil пишет:</cite><blockquote><p>А такая есть. Ну не всёже копипастите</p></blockquote></div><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header" data-lang-open="открыть спойлер" data-lang-close="скрыть спойлер"><strong>+</strong>&nbsp;открыть спойлер</div><div class="fancy_spoiler"><p><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">$ ls -l /usr/lib/php5/20121212<br />итого 680<br />-rw-r--r-- 1 root root 109968 апр.&nbsp; &nbsp;4 05:23 gd.so<br />-rw-r--r-- 1 root root&nbsp; 39736 авг.&nbsp; &nbsp;8&nbsp; 2013 json.so<br />-rw-r--r-- 1 root root&nbsp; 47872 окт.&nbsp; 16&nbsp; 2013 mcrypt.so<br />-rw-r--r-- 1 root root 151168 апр.&nbsp; &nbsp;4 05:23 mysqli.so<br />-rw-r--r-- 1 root root&nbsp; 56304 апр.&nbsp; &nbsp;4 05:23 mysql.so<br />-rw-r--r-- 1 root root 135056 апр.&nbsp; &nbsp;4 05:23 opcache.so<br />-rw-r--r-- 1 root root&nbsp; 36008 апр.&nbsp; &nbsp;4 05:23 pdo_mysql.so<br />-rw-r--r-- 1 root root 113984 апр.&nbsp; &nbsp;4 05:23 pdo.so</div></p></div></div>]]></description>
			<author><![CDATA[null@example.com (Drugpunker)]]></author>
			<pubDate>Wed, 07 May 2014 11:46:25 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=408060#p408060</guid>
		</item>
		<item>
			<title><![CDATA[Re: Как прикрутить модуль CLI (pcntl) на php]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=408059#p408059</link>
			<description><![CDATA[<div class="quotebox"><cite>kisil пишет:</cite><blockquote><p>Скопируйте ручками из под рута.</p></blockquote></div><p>Под рутом:<br /></p><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header" data-lang-open="открыть спойлер" data-lang-close="скрыть спойлер"><strong>+</strong>&nbsp;открыть спойлер</div><div class="fancy_spoiler"><p><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">~/php/ext/pcntl $ sudo make test &amp;&amp; make install<br />/bin/bash /home/drugpunker/php/ext/pcntl/libtool --mode=install cp ./pcntl.la /home/drugpunker/php/ext/pcntl/modules<br />libtool: install: cp ./.libs/pcntl.so /home/drugpunker/php/ext/pcntl/modules/pcntl.so<br />libtool: install: cp ./.libs/pcntl.lai /home/drugpunker/php/ext/pcntl/modules/pcntl.la<br />libtool: finish: PATH=&quot;/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin&quot; ldconfig -n /home/drugpunker/php/ext/pcntl/modules<br />----------------------------------------------------------------------<br />Libraries have been installed in:<br />&nbsp; &nbsp;/home/drugpunker/php/ext/pcntl/modules</p><p>If you ever happen to want to link against installed libraries<br />in a given directory, LIBDIR, you must either use libtool, and<br />specify the full pathname of the library, or use the `-LLIBDIR&#039;<br />flag during linking and do at least one of the following:<br />&nbsp; &nbsp;- add LIBDIR to the `LD_LIBRARY_PATH&#039; environment variable<br />&nbsp; &nbsp; &nbsp;during execution<br />&nbsp; &nbsp;- add LIBDIR to the `LD_RUN_PATH&#039; environment variable<br />&nbsp; &nbsp; &nbsp;during linking<br />&nbsp; &nbsp;- use the `-Wl,-rpath -Wl,LIBDIR&#039; linker flag<br />&nbsp; &nbsp;- have your system administrator add LIBDIR to `/etc/ld.so.conf&#039;</p><p>See any operating system documentation about shared libraries for<br />more information, such as the ld(1) and ld.so(8) manual pages.<br />----------------------------------------------------------------------</p><p>Build complete.<br />Don&#039;t forget to run &#039;make test&#039;.</p><p>PHP Warning:&nbsp; Module &#039;pcntl&#039; already loaded in Unknown on line 0<br />PHP Warning:&nbsp; Module &#039;pcntl&#039; already loaded in Unknown on line 0</p><p>=====================================================================<br />PHP&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: /usr/bin/php <br />Warning: Module &#039;pcntl&#039; already loaded in Unknown on line 0</p><p>PHP_SAPI&nbsp; &nbsp; : cli<br />PHP_VERSION : 5.5.3-1ubuntu2.3<br />ZEND_VERSION: 2.5.0<br />PHP_OS&nbsp; &nbsp; &nbsp; : Linux - Linux Drugpunker-PC 3.11.0-12-generic #19-Ubuntu SMP Wed Oct 9 16:20:46 UTC 2013 x86_64<br />INI actual&nbsp; : /home/drugpunker/php/ext/pcntl/tmp-php.ini<br />More .INIs&nbsp; :&nbsp; <br />CWD&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: /home/drugpunker/php/ext/pcntl<br />Extra dirs&nbsp; : <br />VALGRIND&nbsp; &nbsp; : Not used<br />=====================================================================<br />TIME START 2014-05-07 11:41:09<br />=====================================================================<br />FAIL Test pcntl wait functionality [tests/001.phpt] <br />FAIL pcntl: pcntl_sigprocmask(), pcntl_sigwaitinfo(), pcntl_sigtimedwait() [tests/002.phpt] <br />FAIL pcntl: SIG_BLOCK, SIG_UNBLOCK, SIG_SETMASK [tests/003.phpt] <br />FAIL Bug #47566 (return value of pcntl_wexitstatus()) [tests/bug47566.phpt] <br />FAIL pcntl_alarm() [tests/pcntl_alarm.phpt] <br />FAIL pcntl_exec() [tests/pcntl_exec.phpt] <br />FAIL pcntl_exec() 2 [tests/pcntl_exec_2.phpt] <br />FAIL pcntl_exec() 3 [tests/pcntl_exec_3.phpt] <br />FAIL Test function pcntl_fork() by calling it with its expected arguments [tests/pcntl_fork_basic.phpt] <br />FAIL Test function pcntl_fork() by testing the process isolation in the forking hierarchy father -&gt; son -&gt; grandson where father can not knows his grandson [tests/pcntl_fork_variation.phpt] <br />FAIL Test pcntl_get_last_error() [tests/pcntl_get_last_error.phpt] <br />FAIL pcntl_signal() [tests/pcntl_signal.phpt] <br />FAIL pcnt_signal_dispatch() [tests/pcntl_signal_dispatch.phpt] <br />FAIL pcntl_wait() [tests/pcntl_wait.phpt] <br />FAIL Closures as a signal handler [tests/signal_closure_handler.phpt] <br />=====================================================================<br />TIME END 2014-05-07 11:41:13</p><p>=====================================================================<br />TEST RESULT SUMMARY<br />---------------------------------------------------------------------<br />Exts skipped&nbsp; &nbsp; :&nbsp; &nbsp; 0<br />Exts tested&nbsp; &nbsp; &nbsp;:&nbsp; &nbsp;42<br />---------------------------------------------------------------------</p><p>Number of tests :&nbsp; &nbsp;15&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 15<br />Tests skipped&nbsp; &nbsp;:&nbsp; &nbsp; 0 (&nbsp; 0.0%) --------<br />Tests warned&nbsp; &nbsp; :&nbsp; &nbsp; 0 (&nbsp; 0.0%) (&nbsp; 0.0%)<br />Tests failed&nbsp; &nbsp; :&nbsp; &nbsp;15 (100.0%) (100.0%)<br />Expected fail&nbsp; &nbsp;:&nbsp; &nbsp; 0 (&nbsp; 0.0%) (&nbsp; 0.0%)<br />Tests passed&nbsp; &nbsp; :&nbsp; &nbsp; 0 (&nbsp; 0.0%) (&nbsp; 0.0%)<br />---------------------------------------------------------------------<br />Time taken&nbsp; &nbsp; &nbsp; :&nbsp; &nbsp; 4 seconds<br />=====================================================================</p><p>=====================================================================<br />FAILED TEST SUMMARY<br />---------------------------------------------------------------------<br />Test pcntl wait functionality [tests/001.phpt]<br />pcntl: pcntl_sigprocmask(), pcntl_sigwaitinfo(), pcntl_sigtimedwait() [tests/002.phpt]<br />pcntl: SIG_BLOCK, SIG_UNBLOCK, SIG_SETMASK [tests/003.phpt]<br />Bug #47566 (return value of pcntl_wexitstatus()) [tests/bug47566.phpt]<br />pcntl_alarm() [tests/pcntl_alarm.phpt]<br />pcntl_exec() [tests/pcntl_exec.phpt]<br />pcntl_exec() 2 [tests/pcntl_exec_2.phpt]<br />pcntl_exec() 3 [tests/pcntl_exec_3.phpt]<br />Test function pcntl_fork() by calling it with its expected arguments [tests/pcntl_fork_basic.phpt]<br />Test function pcntl_fork() by testing the process isolation in the forking hierarchy father -&gt; son -&gt; grandson where father can not knows his grandson [tests/pcntl_fork_variation.phpt]<br />Test pcntl_get_last_error() [tests/pcntl_get_last_error.phpt]<br />pcntl_signal() [tests/pcntl_signal.phpt]<br />pcnt_signal_dispatch() [tests/pcntl_signal_dispatch.phpt]<br />pcntl_wait() [tests/pcntl_wait.phpt]<br />Closures as a signal handler [tests/signal_closure_handler.phpt]<br />=====================================================================</p><p>You may have found a problem in PHP.<br />This report can be automatically sent to the PHP QA team at<br /><a href="http://qa.php.net/reports">http://qa.php.net/reports</a> and <a href="http://news.php.net/php.qa.reports">http://news.php.net/php.qa.reports</a><br />This gives us a better understanding of PHP&#039;s behavior.<br />If you don&#039;t want to send the report immediately you can choose<br />option &quot;s&quot; to save it.&nbsp; &nbsp; You can then email it to qa-reports@lists.php.net later.<br />Do you want to send this report now? [Yns]: y</p><p>Please enter your email address.<br />(Your address will be mangled so that it will not go out on any<br />mailinglist in plain text): drugpunker@gmail.com</p><p>Posting to <a href="http://qa.php.net/buildtest-process.php">http://qa.php.net/buildtest-process.php</a></p><p>Thank you for helping to make PHP better.<br />Installing shared extensions:&nbsp; &nbsp; &nbsp;/usr/lib/php5/20121212/<br />cp: cannot create regular file &#039;/usr/lib/php5/20121212/#INST@12755#&#039;: Permission denied<br />make: *** [install-modules] Ошибка 1<br /></div></p></div></div>]]></description>
			<author><![CDATA[null@example.com (Drugpunker)]]></author>
			<pubDate>Wed, 07 May 2014 11:44:21 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=408059#p408059</guid>
		</item>
		<item>
			<title><![CDATA[Re: Как прикрутить модуль CLI (pcntl) на php]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=408057#p408057</link>
			<description><![CDATA[<p>А такая есть. Ну не всёже копипастите<br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">ls -l /usr/lib/php5/20121212</div></p>]]></description>
			<author><![CDATA[null@example.com (kisil)]]></author>
			<pubDate>Wed, 07 May 2014 11:42:41 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=408057#p408057</guid>
		</item>
		<item>
			<title><![CDATA[Re: Как прикрутить модуль CLI (pcntl) на php]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=408055#p408055</link>
			<description><![CDATA[<div class="quotebox"><cite>kisil пишет:</cite><blockquote><p>И приветиде ещё листинг вот этой директории<br />Консоль<br />ls -l usr/lib/php5/20121212</p></blockquote></div><p>Нет такой директории...</p>]]></description>
			<author><![CDATA[null@example.com (Drugpunker)]]></author>
			<pubDate>Wed, 07 May 2014 11:39:03 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=408055#p408055</guid>
		</item>
		<item>
			<title><![CDATA[Re: Как прикрутить модуль CLI (pcntl) на php]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=408054#p408054</link>
			<description><![CDATA[<p>make install нужно запускать из под рута. У вас команда копирования готовой библиотеки не отработала<br /></p><div class="quotebox"><cite>Drugpunker пишет:</cite><blockquote><p>cp: cannot create regular file &#039;/usr/lib/php5/20121212/#INST@12102#&#039;: Permission denied</p></blockquote></div><p>Скопируйте ручками из под рута.</p>]]></description>
			<author><![CDATA[null@example.com (kisil)]]></author>
			<pubDate>Wed, 07 May 2014 11:37:41 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=408054#p408054</guid>
		</item>
		<item>
			<title><![CDATA[Re: Как прикрутить модуль CLI (pcntl) на php]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=408053#p408053</link>
			<description><![CDATA[<p>И приветиде ещё листинг вот этой директории<br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">ls -l usr/lib/php5/20121212</div></p>]]></description>
			<author><![CDATA[null@example.com (kisil)]]></author>
			<pubDate>Wed, 07 May 2014 11:35:31 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=408053#p408053</guid>
		</item>
	</channel>
</rss>
