{{tag>app owncloud apache webadmin}}
===== Configuration apache pour owncloud ======
Créer le fichier de configuration pour l’hôte virtuel
Créer un certificat pour l’hôte virtuel: consulter le wiki décrivant la création d'un certificat let's encrypt
Activer les modules suivants:
a2enmod dir env headers mime rewrite
Activer le site et redémarrer le service:
a2ensite vhost.tld.conf
apache2ctl configtest
systemctl restart apache2
==== PHP5 =====
Installation des modules PHP:
apt-get install php5-intl php5-curl
Vérifier que les options et modules suivants sont actifs via **phpinfo()**
| ctype | For character type checking |
| curl | Used for aspects of HTTP user authentication |
| DOM | For operating on XML documents through the DOM API
| GD | For creating and manipulating image files in a variety of different image formats
| HASH | For working with message digests (hash).
| Digest | Framework
|iconv | For working with the iconv character set conversion facility.
| intl | Increases language translation performance and fixes sorting of non-ASCII characters
| JSON | For working with the JSON data-interchange format.
| libxml | This is required for the _DOM_, _libxml_, _SimpleXML_, and _XMLWriter_ extensions to work.
| Multibyte | String For working with multibyte character encoding schemes.
| OpenSSL | For symmetric and asymmetric encryption and decryption, PBKDF2, PKCS7, PKCS12, X509 and other crypto operations.
| PDO | This is required for the pdo_msql function to work.
| Phar |For working with PHP Archives (.phar files).
| POSIX | For working with UNIX POSIX functionality.
| SimpleXML | For working with XML files as objects.
| XMLWriter | For generating streams or files of XML data.
| Zip |For reading and writing ZIP compressed archives and the files inside them.
| Zlib | For reading and writing gzip (.gz) compressed files.
===== Références =====
* https://doc.owncloud.org/server/latest/admin_manual/installation/source_installation.html
* https://doc.owncloud.org/server/latest/admin_manual/installation/linux_installation.html
* https://doc.owncloud.org/server/latest/admin_manual/installation/source_installation.html#apache-configuration-label