svn: /phpdoc/en/trunk/reference/ssh2/ installation.xml setup.xml

From: Date: Sat, 03 Oct 2009 19:00:59 +0000
Subject: svn: /phpdoc/en/trunk/reference/ssh2/ installation.xml setup.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-5055@lists.php.net to get a copy of this message
philip Sat, 03 Oct 2009 19:00:59 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=289135 Log: Made installation instructions consistent with other PECL extensions Changed paths: U phpdoc/en/trunk/reference/ssh2/installation.xml U phpdoc/en/trunk/reference/ssh2/setup.xml Modified: phpdoc/en/trunk/reference/ssh2/installation.xml =================================================================== --- phpdoc/en/trunk/reference/ssh2/installation.xml 2009-10-03 17:30:55 UTC (rev 289134) +++ phpdoc/en/trunk/reference/ssh2/installation.xml 2009-10-03 19:00:59 UTC (rev 289135) @@ -2,106 +2,15 @@ <!-- $Revision$ --> <section xml:id="ssh2.installation" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> &reftitle.install; - <simpara> - <emphasis>Windows</emphasis> binaries may be found at - <link xlink:href="&url.php.snapshots;">&url.php.snapshots;</link>. - To install, download <filename>php_ssh2.dll</filename> to the folder specified - by your php.ini file's <literal>extension_dir</literal> directive. - Enable it by adding <literal>extension=php_ssh2.dll</literal> - to your php.ini and restarting your web server. - </simpara> - <screen> -<![CDATA[ -extension_dir=c:/php5/exts/ -extension=php_ssh2.dll -]]> - </screen> - - <simpara> - <emphasis>Linux, BSD, and other *nix variants</emphasis> - can be compiled using the following steps: - </simpara> - - <itemizedlist> - <listitem> - <simpara> - Download and install <link xlink:href="&url.openssl;">OpenSSL</link>. - If you install OpenSSL via your distribution's packaging system - be sure to install the development libraries as well. - This will typically be a package named <literal>openssl-dev</literal>, - <literal>openssl_devel</literal>, or some variation thereof. - </simpara> - </listitem> - - <listitem> - <simpara> - Download and install <link xlink:href="&url.libssh2;">libssh2</link>. - Typically this means executing the following command from - the libssh2 source tree. <literal>./configure &amp;&amp; make all install</literal>. - </simpara> - </listitem> - - <listitem> - <simpara> - Run the pecl installer for PECL/ssh2: <literal>pecl install ssh2</literal> - </simpara> - </listitem> - - <listitem> - <simpara> - Copy <filename>ssh2.so</filename> from the directory indicated by the - build process to the location specified in your php.ini file under - <literal>extension_dir</literal>. - </simpara> - </listitem> - - <listitem> - <simpara> - Add <literal>extension=ssh2.so</literal> to your php.ini - </simpara> - </listitem> - - <listitem> - <simpara> - Restart your web server to reload your php.ini settings. - </simpara> - </listitem> - - </itemizedlist> - - <note> - <title>Development Versions</title> - <simpara> - There are currently no <literal>stable</literal> versions of PECL/ssh2, - to force installation of the <literal>beta</literal> version of PECL/ssh2 - execute: <literal>pecl install ssh2-</literal><emphasis>beta</emphasis> - </simpara> - </note> - - <tip> - <title>Compiling PECL/ssh2 without using the PECL command</title> - <simpara> - Rather than using <literal>pecl install ssh2</literal> to automatically - download and install PECL/ssh2, you may download the tarball from - <link xlink:href="&url.pecl.package;ssh2">PECL</link>. - From the root of the unpacked tarball, run: - <literal>phpize &amp;&amp; ./configure --with-ssh2 &amp;&amp; make</literal> - to generate <filename>ssh2.so</filename>. - Once built, continue the installation from step 4 above. - </simpara> - </tip> - - <simpara> + <para> &pecl.info; <link xlink:href="&url.pecl.package;ssh2">&url.pecl.package;ssh2</link>. - </simpara> - <note> - <simpara> - You will need version 0.4 or greater of the libssh2 library - (possibly higher, see release notes). - </simpara> - </note> + </para> + <para> + &pecl.windows.download; + </para> + </section> <!-- Keep this comment at the end of the file Modified: phpdoc/en/trunk/reference/ssh2/setup.xml =================================================================== --- phpdoc/en/trunk/reference/ssh2/setup.xml 2009-10-03 17:30:55 UTC (rev 289134) +++ phpdoc/en/trunk/reference/ssh2/setup.xml 2009-10-03 19:00:59 UTC (rev 289135) @@ -7,7 +7,20 @@ <!-- {{{ Requirements --> <section xml:id="ssh2.requirements"> &reftitle.required; - &no.requirement; + <para> + The + <link xlink:href="&url.openssl;">OpenSSL</link> and + <link xlink:href="&url.libssh2;">libssh2</link> libraries + are required. Ensure that the development libraries are installed, + where a typical package name might be <literal>openssl-dev</literal>. + </para> + <note> + <simpara> + Version 0.4 or newer of the libssh2 library is required, although + it's possible newer releases of pecl/ssh2 may require newer + versions (see the release notes). + </simpara> + </note> </section> <!-- }}} -->

« previous php.doc.cvs (#5055) next »