Skip to content

Commit

Permalink
Sync part of documentation with EN
Browse files Browse the repository at this point in the history
  • Loading branch information
Girgias committed Oct 24, 2024
1 parent 1dc4675 commit 8d871ba
Show file tree
Hide file tree
Showing 16 changed files with 54 additions and 227 deletions.
7 changes: 1 addition & 6 deletions bookinfo.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: fdabefd50cedaed15fa965ea3a8be31646207a1a Maintainer: cucinato Status: ready -->
<!-- EN-Revision: ced6d2c2bacc02e3048abd4a2ab58d755d09307d Maintainer: cucinato Status: ready -->

<info xmlns="http://docbook.org/ns/docbook" xml:id="bookinfo">
&frontpage.authors;
Expand Down Expand Up @@ -75,11 +75,6 @@
</othercredit>
</authorgroup>

<copyright>
<year>1997-<?dbtimestamp format="Y"?></year>
<holder>Gruppo di Documentazione PHP</holder>
</copyright>

<legalnotice xml:id="copyright" xmlns:xlink="http://www.w3.org/1999/xlink">
<info><title>Copyright</title></info>
<simpara>
Expand Down
68 changes: 1 addition & 67 deletions faq/build.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- EN-Revision: 8c97f23264c18cf6496ec6fbfdce4688da182465 Maintainer: cucinato Status: ready -->
<!-- $Revision$ -->
<!-- EN-Revision: b8e1b1357def73f310c9f7405035b3acc0cb1eaf Maintainer: cucinato Status: ready -->
<!-- CREDITS: sven -->
<chapter xml:id="faq.build" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Problemi di installazione</title>
Expand Down Expand Up @@ -189,71 +188,6 @@
</answer>
</qandaentry>

<qandaentry xml:id="faq.build.apache">
<question>
<para>
Non riesco a capire come installare PHP con Apache 1.3.
</para>
</question>
<answer>
<para>
Installare PHP insieme con Apache 1.3 è veramente semplice. Segui queste istruzioni:
<itemizedlist>
<listitem>
<simpara>
Scarica l'ultima distribuzione di Apache 1.3 da
<link xlink:href="&url.apache.source;">&url.apache.source;</link>.
</simpara>
</listitem>
<listitem>
<simpara>
Estrai prima l'archivio gzip e poi quello tar dove preferisci, per esempio in
<filename>/usr/local/src/apache-1.3</filename>.
</simpara>
</listitem>
<listitem>
<simpara>
Compila PHP per la prima volta eseguendo:
<command>./configure --with-apache=/&lt;percorso&gt;/apache-1.3</command>
Sostituisci &lt;percorso&gt; con il percorso che porta alla cartella di Apache 1.3
</simpara>
</listitem>
<listitem>
<simpara>
Scrivi <command>make</command> seguito da <command>make install</command>
per installare PHP e copiare i file necessari alla distribuzione di Apache.
</simpara>
</listitem>
<listitem>
<simpara>
Cambia il percorso delle cartelle fino al tuo <filename>/&lt;percorso&gt;/apache-1.3/src
</filename> e modifica il file di <filename>Configuration</filename>.
Aggiungi al file la riga seguente:
<literal>AddModule modules/php4/libphp4.a</literal>.
</simpara>
</listitem>
<listitem>
<simpara>
Scrivi: <command>./configure</command> seguito da <literal>make</literal>.
</simpara>
</listitem>
<listitem>
<simpara>
Ora dovresti avere un eseguibile httpd abilitato per PHP!
</simpara>
</listitem>
</itemizedlist>
</para>
<para>
<emphasis>Nota:</emphasis> puoi anche usare il nuovo script
<literal>./configure</literal> di Apache. Leggi le istruzioni
nel file <literal>README.configure</literal> presente nella tua
distribuzione di Apache. Leggi anche il file
<filename>INSTALL</filename> nella distribuzione di PHP.
</para>
</answer>
</qandaentry>

<qandaentry xml:id="faq.build.not-running">
<question>
<para>
Expand Down
3 changes: 2 additions & 1 deletion install/cloud/index.xml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: d343dda81958034673651e2ccbda2bf139173f3d Maintainer: pastore Status: ready -->
<!-- EN-Revision: e271c1af94ab28138fe91b0331db1313562d4ee9 Maintainer: pastore Status: ready -->
<chapter xml:id="install.cloud" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Installazione su piattaforme di Cloud Computing</title>
<para>
PHP viene installato sul cloud. Verso il cloud di PHP!
</para>
&install.cloud.azure;
&install.cloud.ec2;
&install.cloud.digitalocean;
</chapter>

<!-- Keep this comment at the end of the file
Expand Down
3 changes: 1 addition & 2 deletions reference/apache/book.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 508e255fff6c604c31d5617fe9ddf6d776a3b43d Maintainer: pastore Status: ready -->
<!-- EN-Revision: 46a9cdd2dbef4ec89bf65fad9930e2feb78bbb98 Maintainer: pastore Status: ready -->

<book xml:id="book.apache" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<?phpdoc extension-membership="bundled" ?>
Expand All @@ -15,7 +15,6 @@
<!-- }}} -->

&reference.apache.setup;
&reference.apache.constants;
&reference.apache.reference;

</book>
Expand Down
29 changes: 0 additions & 29 deletions reference/apache/constants.xml

This file was deleted.

43 changes: 11 additions & 32 deletions reference/apache/functions/apache-child-terminate.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 84b8fca68fc762fefe85acde180a38b2e77a28b9 Maintainer: cucinato Status: ready -->
<!-- EN-Revision: f3b9d85f71934d6814a493fabb367e10731e0394 Maintainer: cucinato Status: ready -->
<!-- OLD-Revision: 1.24/EN.1.20 -->
<refentry xml:id="function.apache-child-terminate" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
Expand All @@ -10,7 +10,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>apache_child_terminate</methodname>
<type>void</type><methodname>apache_child_terminate</methodname>
<void/>
</methodsynopsis>
<para>
Expand All @@ -21,41 +21,20 @@
dal momento che la memoria viene normalmente liberata internamente ma non restituita
al sistema operativo.
</para>
</refsect1>

<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Restituisce &true; se PHP è eseguito come modulo Apache 1, la versione di Apache
non è multithread, e la
direttiva PHP <link linkend="ini.child-terminate">child_terminate</link> è
attivata (è disattivata di default). Se queste condizioni non sono raggiunte, viene restituito &false;
e viene generato un errore di livello <constant>E_WARNING</constant>.
Funziona con i webserver Apache e FastCGI.
</para>
</refsect1>

<refsect1 role="changelog">
&reftitle.changelog;
<refsect1 role="parameters">
&reftitle.parameters;
&no.function.parameters;
</refsect1>

<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>5.4.0</entry>
<entry>
Questa funzione diventa disponibile sotto FastCGI. Precedentemente, era
supportata solo quando PHP era installato come modulo Apache.
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
&return.void;
</para>
</refsect1>

Expand Down
7 changes: 6 additions & 1 deletion reference/apache/functions/apache-request-headers.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: d278431ef5e561787093a7b2679327a615b09367 Maintainer: pastore Status: ready -->
<!-- EN-Revision: f3b9d85f71934d6814a493fabb367e10731e0394 Maintainer: pastore Status: ready -->
<!-- CREDITS: cucinato -->
<!-- splitted from ./en/functions/apache.xml, last change in rev 1.2 -->
<refentry xml:id="function.apache-request-headers" xmlns="http://docbook.org/ns/docbook">
Expand All @@ -20,6 +20,11 @@
</para>
</refsect1>

<refsect1 role="parameters">
&reftitle.parameters;
&no.function.parameters;
</refsect1>

<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Expand Down
7 changes: 6 additions & 1 deletion reference/apache/functions/apache-response-headers.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: d278431ef5e561787093a7b2679327a615b09367 Maintainer: pastore Status: ready -->
<!-- EN-Revision: f3b9d85f71934d6814a493fabb367e10731e0394 Maintainer: pastore Status: ready -->
<!-- CREDITS: cucinato -->
<!-- splitted from ./en/functions/apache.xml, last change in rev 1.2 -->
<refentry xml:id="function.apache-response-headers" xmlns="http://docbook.org/ns/docbook">
Expand All @@ -20,6 +20,11 @@
</para>
</refsect1>

<refsect1 role="parameters">
&reftitle.parameters;
&no.function.parameters;
</refsect1>

<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Expand Down
7 changes: 6 additions & 1 deletion reference/apache/functions/getallheaders.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: e41806c30bf6975e452c0d4ce35ab0984c2fa68c Maintainer: pastore Status: ready -->
<!-- EN-Revision: f3b9d85f71934d6814a493fabb367e10731e0394 Maintainer: pastore Status: ready -->
<!-- CREDITS: cucinato -->
<!-- splitted from ./en/functions/apache.xml, last change in rev 1.2 -->
<refentry xml:id="function.getallheaders" xmlns="http://docbook.org/ns/docbook">
Expand All @@ -24,6 +24,11 @@
</para>
</refsect1>

<refsect1 role="parameters">
&reftitle.parameters;
&no.function.parameters;
</refsect1>

<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Expand Down
22 changes: 11 additions & 11 deletions reference/apache/ini.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: f052ac1bd73549125c3fc3dc68a36d4b0608a16d Maintainer: cucinato Status: ready -->
<!-- EN-Revision: d4d5216e7a965ca194f6b1c9dee84cecab2674e5 Maintainer: cucinato Status: ready -->
<section xml:id="apache.configuration" xmlns="http://docbook.org/ns/docbook">
&reftitle.runtime;
<para>
Expand Down Expand Up @@ -29,40 +29,40 @@
<entry><link linkend="ini.engine">engine</link></entry>
<entry>"1"</entry>
<entry><constant>INI_ALL</constant></entry>
<entry>disponibile da PHP 4.0.5.</entry>
<entry></entry>
</row>
<row>
<entry><link linkend="ini.child-terminate">child_terminate</link></entry>
<entry>"0"</entry>
<entry><constant>INI_ALL</constant></entry>
<entry>Disponibile da PHP 4.0.5.</entry>
<entry></entry>
</row>
<row>
<entry><link linkend="ini.last-modified">last_modified</link></entry>
<entry>"0"</entry>
<entry><constant>INI_ALL</constant></entry>
<entry>Disponibile da PHP 4.0.5.</entry>
<entry></entry>
</row>
<row>
<entry><link linkend="ini.xbithack">xbithack</link></entry>
<entry>"0"</entry>
<entry><constant>INI_ALL</constant></entry>
<entry>Disponibile da PHP 4.0.5.</entry>
<entry></entry>
</row>
</tbody>
</tgroup>
</table>
&ini.php.constants;
</para>

&ini.descriptions.title;

<para>
<variablelist>
<varlistentry xml:id="ini.engine">
<term>
<parameter>engine</parameter>
<type>boolean</type>
<type>bool</type>
</term>
<listitem>
<para>
Expand All @@ -79,7 +79,7 @@
<varlistentry xml:id="ini.child-terminate">
<term>
<parameter>child_terminate</parameter>
<type>boolean</type>
<type>bool</type>
</term>
<listitem>
<para>
Expand All @@ -91,7 +91,7 @@
<varlistentry xml:id="ini.last-modified">
<term>
<parameter>last_modified</parameter>
<type>boolean</type>
<type>bool</type>
</term>
<listitem>
<para>
Expand All @@ -102,7 +102,7 @@
<varlistentry xml:id="ini.xbithack">
<term>
<parameter>xbithack</parameter>
<type>boolean</type>
<type>bool</type>
</term>
<listitem>
<para>
Expand Down
16 changes: 1 addition & 15 deletions reference/apache/setup.xml
Original file line number Diff line number Diff line change
@@ -1,16 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: a56106f69198dfe88c6084593c78a71c26b24353 Maintainer: pastore Status: ready -->
<!-- EN-Revision: 48ce43fe79fa0c9f31f187ea8ec995b4cb13037e Maintainer: pastore Status: ready -->

<chapter xml:id="apache.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
&reftitle.setup;

<!-- {{{ Requirements -->
<section xml:id="apache.requirements">
&reftitle.required;
&no.requirement;
</section>
<!-- }}} -->

<!-- {{{ Installation -->
<section xml:id="apache.installation">
&reftitle.install;
Expand All @@ -25,13 +18,6 @@
&reference.apache.ini;
<!-- }}} -->

<!-- {{{ Resources -->
<section xml:id="apache.resources">
&reftitle.resources;
&no.resource;
</section>
<!-- }}} -->

</chapter>

<!-- Keep this comment at the end of the file
Expand Down
Loading

0 comments on commit 8d871ba

Please sign in to comment.