Vous n'êtes pas identifié(e).
L'icône rouge permet de télécharger chaque page du wiki visitée au format
PDF et la grise au format ODT →
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente | Prochaine révision Les deux révisions suivantes | ||
utilisateurs:hypathie:tutos:creer-son-site-web-en-php-_-prendre-en-main-apache2-sur-jessie [25/12/2020 05:21] Hypathie [Pour un projet symfony5] |
utilisateurs:hypathie:tutos:creer-son-site-web-en-php-_-prendre-en-main-apache2-sur-jessie [25/12/2020 05:24] Hypathie [Pour un projet symfony5] |
||
---|---|---|---|
Ligne 457: | Ligne 457: | ||
===== Pour un projet symfony5 ===== | ===== Pour un projet symfony5 ===== | ||
- | ==== On installe Apache2 si c'est pas fait ==== | + | Apache2 et php7 sont installés. |
- | <code root>apt install apache2</code> | ||
- | ==== On installe php7 ==== | ||
- | |||
- | <code root> | ||
- | apt install php7.2 libapache2-mod-php7.2 php7.2-common php7.2-sqlite3 php7.2-mysql php7.2-gmp php7.2-curl php7.2-intl php7.2-mbstring php7.2-xmlrpc php7.2-soap php7.2-ldap php7.2-gd php7.2-bcmath php7.2-xml php7.2-cli php7.2-zip | ||
- | </code> | ||
- | |||
- | ==== On configure php pour Apache ainsi==== | ||
- | |||
- | <code root>/etc/php/7.[version]/apache2/php.ini </code> | ||
- | |||
- | <code> | ||
- | file_uploads = On | ||
- | allow_url_fopen = On | ||
- | short_open_tag = On | ||
- | memory_limit = 256M | ||
- | upload_max_filesize = 100M | ||
- | max_execution_time = 360 | ||
- | </code> | ||
==== On crée un virtualhost de même nom que le projet symfony==== | ==== On crée un virtualhost de même nom que le projet symfony==== |