php-doc-en/reference/eio/configure.xml
Ruslan Osmanov 99ce1d3e88 Add: warning about semaphore permissions
Add: basic information and precautions on the introduction page
Fix: file paths in examples
Fix: eio_futime proto


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@317986 c90b9560-bf6c-de11-be94-00142212c4b1
2011-10-10 19:34:32 +00:00

57 lines
1.9 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<section xml:id="eio.installation" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
&reftitle.install;
<para>Basically, <option role="configure">--with-eio[=DIR]</option> option is
enough to install the extension. But you might want to make output more
verbose(to debug), or change shared memory key and permissions used for
internal event loop. The following is a list of additional configuration
flags and options.</para>
<para><option role="configure">--enable-eio-debug</option> makes output(logging)
more verbose.</para>
<para><option role="configure">--with-eio-shm-key</option>
option sets shared memory segment key. Default: /tmp/php-eio-shm
</para>
<para><option role="configure">--with-eio-shm-prm</option>
option sets shared memory segment permissions. Default: 0600
</para>
<para>
<option role="configure">--with-eio-shm-key</option> and <option
role="configure">--with-eio-shm-prm</option> are semaphore options.
Semaphores are currently used in internal event loop implementation. The only
thing to note is to provide unique ID for the semaphore key and sufficient
priveleges to that. If you are not sure what these settings mean, just leave
their defaults.
</para>
<warning><simpara>Be sure that you gave read
and write permissions for the Web server user or group(according to the file
system setup). Otherwise, the internal event loop will fail.</simpara></warning>
</section>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->