-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
install.unix page #49
Open
fabiosal
wants to merge
2
commits into
php:master
Choose a base branch
from
fabiosal:install_unix
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,200 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- EN-Revision: 645c1b0252ac20e344c151a5184d9c8e594f4811 Maintainer: fabiosal Status: ready --> | ||
<!-- Reviewed: yes --> | ||
<chapter xml:id="install.unix" xmlns="http://docbook.org/ns/docbook"> | ||
<title>Installazione su sistemi Unix</title> | ||
<para> | ||
Questa sezione tratterà la configurazione generale e l'installazione | ||
di PHP su sistemi Unix. Leggi anche le sezioni specifiche alla tua | ||
piattaforma o server web prima di iniziare. | ||
</para> | ||
<para> | ||
Come delinea il manuale nella sezione <link linkend="install.general"> | ||
Considerazioni Generali per l'Installazione</link>, in questa sezione | ||
viene principalmente trattata la configurazione di PHP per il web, ma si | ||
tratterà anche la configurazione di PHP per l'utilizzo da linea di comando. | ||
</para> | ||
<para> | ||
Ci sono diverse modalità per installare PHP per la piattaforma Unix: | ||
tramite la compilazione e la configurazione, o attraverso vari metodi | ||
precompilati. Questa documentazione si occuperà principalmente del | ||
processo di compilazione e configurazione di PHP. Molti sistemi come Unix | ||
e simili possiedono un sistema di installazione dei pacchetti. Questo | ||
può aiutare ad impostare una configurazione di base, ma se si avesse bisogno | ||
di utilizzare differenti funzionalità (come un server sicuro, o un | ||
differente driver per il database), si avrà la necessità di compilare PHP | ||
e/o il server web. Se non si ha familiarità con la compilazione del proprio | ||
software, può essere vantaggioso controllare se qualcuno ha già compilato | ||
una versione di PHP con le stesse funzionalità di cui si ha bisogno. | ||
</para> | ||
<para> | ||
Conoscenze essenziali e software per la compilazione: | ||
<itemizedlist> | ||
<listitem> | ||
<simpara> | ||
Competenze di base su Unix (utilizzo di "make" e del | ||
compilatore C) | ||
</simpara> | ||
</listitem> | ||
<listitem> | ||
<simpara> | ||
Un compilatore per ANSI C | ||
</simpara> | ||
</listitem> | ||
<listitem> | ||
<simpara> | ||
Un server web | ||
</simpara> | ||
</listitem> | ||
<listitem> | ||
<simpara> | ||
Componenti specifici per i moduli (come <acronym>GD</acronym>,) | ||
<acronym>PDF</acronym> libs, etc.) | ||
</simpara> | ||
</listitem> | ||
</itemizedlist> | ||
</para> | ||
|
||
<para> | ||
Compilando direttamente il codice sorgente da Git o dopo delle modifiche | ||
si potrebbe necessitare di: | ||
<itemizedlist> | ||
<listitem> | ||
<simpara> | ||
autoconf: | ||
</simpara> | ||
<itemizedlist> | ||
<listitem> | ||
<simpara> | ||
PHP 7.3 o successive: 2.68+ | ||
</simpara> | ||
</listitem> | ||
<listitem> | ||
<simpara> | ||
PHP 7.2: 2.64+ | ||
</simpara> | ||
</listitem> | ||
<listitem> | ||
<simpara> | ||
PHP 7.1 o precedenti: 2.59+ | ||
</simpara> | ||
</listitem> | ||
</itemizedlist> | ||
</listitem> | ||
<listitem> | ||
<simpara> | ||
automake: 1.4+ | ||
</simpara> | ||
</listitem> | ||
<listitem> | ||
<simpara> | ||
libtool: 1.4.x+ (eccetto 1.4.2) | ||
</simpara> | ||
</listitem> | ||
<listitem> | ||
<simpara> | ||
re2c: | ||
</simpara> | ||
<itemizedlist> | ||
<listitem> | ||
<simpara> | ||
PHP 8.3 o successive: 1.0.3+ | ||
</simpara> | ||
</listitem> | ||
<listitem> | ||
<simpara> | ||
PHP 8.2 o precedenti: 0.13.4+ | ||
</simpara> | ||
</listitem> | ||
</itemizedlist> | ||
</listitem> | ||
<listitem> | ||
<simpara> | ||
bison: | ||
</simpara> | ||
<itemizedlist> | ||
<listitem> | ||
<simpara> | ||
PHP 7.4 o successive: 3.0.0+ | ||
</simpara> | ||
</listitem> | ||
<listitem> | ||
<simpara> | ||
PHP 7.3 o precedenti: 2.4+ (Bison 3.x inclusa) | ||
</simpara> | ||
</listitem> | ||
</itemizedlist> | ||
</listitem> | ||
</itemizedlist> | ||
</para> | ||
|
||
<para> | ||
Il processo di configurazione di PHP viene effettuato dalla linea di | ||
comando utilizzando le opzioni dello script <command>configure</command>. | ||
È possibile avere una lista delle varie opzioni ed una breve spiegazione | ||
eseguendo il comando <command>./configure --help</command>. | ||
Questo manuale documenta le differenti opzioni separatamente. Troverai le | ||
<link linkend="configure.about">opzioni principali nell'appendice</link>, | ||
mentre le opzioni specifiche per le diverse estensioni sono descritte nelle | ||
relative pagine di riferimento. | ||
</para> | ||
|
||
<para> | ||
Quando PHP è configurato, si è pronti per compilare i moduli e/o gli | ||
eseguibili. Il comando <command>make</command> si occupa di questo. | ||
Se fallisce e non si riesce a trovare il motivo, consulta la | ||
<link linkend="install.problems">sezioni Problemi</link>. | ||
</para> | ||
|
||
<note> | ||
<para> | ||
Alcuni sistemi Unix (come OpenBSD e SELinux) potrebbero non consentire di | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Questa sezione deve essere di 6 righe. |
||
mappare pagine di memoria sia in scrittura che per l'esecuzione per ragioni | ||
di sicurezza, quello che viene chiamato PaX MPROTECT o violazione della | ||
protezione W^X. Questo tipo di mappatura della memoria è, in ogni caso, | ||
necessaria per il supporto di JIT PCRE, così o PHP dovrà essere compilato | ||
<link linkend="pcre.installation">senza il supporto per JIT PCRE</link>, | ||
o il codice compilato dovrà essere autorizzato. | ||
</para> | ||
</note> | ||
<note> | ||
<simpara> | ||
La cross-compilazione per ARM con la toolchain di Android non è | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Questa sezione deve essere di una riga. |
||
attualmente supportata. | ||
</simpara> | ||
</note> | ||
|
||
<!-- web server specific nodes --> | ||
&install.unix.apache2; | ||
&install.unix.nginx; | ||
&install.unix.lighttpd-14; | ||
&install.unix.litespeed; | ||
&install.unix.commandline; | ||
<!-- operating system specific nodes --> | ||
&install.unix.openbsd; | ||
&install.unix.solaris; | ||
<!-- distribution specific nodes --> | ||
&install.unix.debian; | ||
|
||
</chapter> | ||
|
||
<!-- 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 | ||
--> |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Questa sezione deve essere di 4 righe, come nel file originale.