|
118.
|
|
|
By default, when <application>libapache2-mod-php</application> is installed, the Apache 2 Web server is configured to run PHP scripts. In other words, the PHP module is enabled in the Apache Web server when you install the module. Please verify if the files <filename>/etc/apache2/mods-enabled/php7.0.conf</filename> and <filename>/etc/apache2/mods-enabled/php7.0.load</filename> exist. If they do not exist, you can enable the module using the <command>a2enmod</command> command.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/web-servers.xml:773(para)
|
|
119.
|
|
|
Once you have installed the PHP related packages and enabled the Apache PHP module, you should restart the Apache2 Web server to run PHP scripts. You can run the following command at a terminal prompt to restart your web server: <screen><command>sudo systemctl restart apache2.service</command> </screen>
|
|
|
|
Une fois les paquets concernant PHP installés et le module Apache PHP activé, vous devez redémarrer le serveur web Apache2 pour lancer des scripts PHP. Vous pouvez saisir la commande suivante à l'invite d'un terminal pour redémarrer votre serveur web [nbsp] : <screen> ![](/@@/translation-newline)
<command>sudo systemctl restart apache2.service</command> ![](/@@/translation-newline)
</screen>
|
|
Translated by
Pascal Baudry
|
|
Reviewed by
Jean-Marc
|
|
|
|
Located in
serverguide/C/web-servers.xml:785(para)
|
|
120.
|
|
|
Testing
|
|
|
|
Tests
|
|
Translated by
Emmanuel Sunyer
|
|
|
|
Located in
serverguide/C/web-servers.xml:793(title) serverguide/C/network-auth.xml:1063(title) serverguide/C/mail.xml:359(title) serverguide/C/mail.xml:1669(title) serverguide/C/dns.xml:380(title) serverguide/C/clustering.xml:182(title)
|
|
121.
|
|
|
To verify your installation, you can run the following PHP phpinfo script:
|
|
|
|
Pour vérifier votre installation, vous pouvez lancer le script PHP phpinfo suivant[nbsp] :
|
|
Translated by
Pascal Maugendre
|
|
Reviewed by
Jean-Marc
|
|
|
|
Located in
serverguide/C/web-servers.xml:794(para)
|
|
122.
|
|
|
![](/@@/translation-newline)
<?php
phpinfo(); ![](/@@/translation-newline)
?>
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
represents a space character.
Enter a space in the equivalent position in the translation.
|
|
|
|
![](/@@/translation-newline)
<?php
phpinfo(); ![](/@@/translation-newline)
?>
|
|
Translated by
Emmanuel Sunyer
|
|
|
|
Located in
serverguide/C/web-servers.xml:797(programlisting)
|
|
123.
|
|
|
You can save the content in a file <filename>phpinfo.php</filename> and place it under the <command>DocumentRoot</command> directory of the Apache2 Web server. Pointing your browser to <filename>http://hostname/phpinfo.php</filename> will display the values of various PHP configuration parameters.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/web-servers.xml:802(para)
|
|
124.
|
|
|
For more in depth information see the <ulink url="http://www.php.net/docs.php">php.net</ulink> documentation.
|
|
|
|
Pour plus d'informations détaillées, consultez la documentation <ulink url="http://www.php.net/docs.php">php.net</ulink>
|
|
Translated by
Pascal Maugendre
|
|
Reviewed by
Jean-Marc
|
|
|
|
Located in
serverguide/C/web-servers.xml:816(para)
|
|
125.
|
|
|
There are a plethora of books on PHP. A good book from O'Reilly is <ulink url="http://oreilly.com/catalog/0636920043034/">Learning PHP</ulink>. <ulink url="http://oreilly.com/catalog/9781565926813/">PHP Cook Book</ulink> is also good, but has no yet been updated for PHP7.
|
|
|
|
Il y a une multitude de livres sur PHP. Le <ulink url="http://oreilly.com/catalog/0636920043034/">Learning PHP</ulink> de O'Reilly en est un bon. Tout comme le <ulink url="http://oreilly.com/catalog/9781565926813/">PHP Cook Book</ulink>, mais il n'a pas été mis à jour pour PHP7.
|
|
Translated and reviewed by
Nicolas Delvaux
|
|
|
|
Located in
serverguide/C/web-servers.xml:821(para)
|
|
126.
|
|
|
Also, see the <ulink url="https://help.ubuntu.com/community/ApacheMySQLPHP">Apache MySQL PHP Ubuntu Wiki</ulink> page for more information.
|
|
|
|
Pour plus d'information, consultez également la page du <ulink url="https://help.ubuntu.com/community/ApacheMySQLPHP">Wiki Ubuntu consacrée à Apache MySQL PHP</ulink>.
|
|
Translated by
Emmanuel Sunyer
|
|
|
|
Located in
serverguide/C/web-servers.xml:829(para)
|
|
127.
|
|
|
Squid - Proxy Server
|
|
|
|
Squid - Serveur mandataire (proxy)
|
|
Translated by
Emmanuel Sunyer
|
|
|
|
Located in
serverguide/C/web-servers.xml:840(title)
|