Difference between revisions of "Install PHP 7 on its dedicated server"

From EN Ikoula wiki
⧼vector-jumptonavigation⧽ ⧼vector-jumptosearch⧽
Line 23: Line 23:
  
 
== Installation ==
 
== Installation ==
8 7 97  {{Template:Serveur}}  8.<br />
+
Careful, currently the official Debian 8 deposits do not have version 7 of PHP, the package will only be available from Debian 9.
{{Template:Serveur}}
+
However, it is still possible to benefit from PHP 7 on your [https://www.ikoula.com/en/dedicated-server server] under Debian 8.
 +
This article is aimed primarily at users with a [https://www.ikoula.com/en/dedicated-server dedicated] server without Plesk installation.
  
 
===  ===
 
===  ===

Revision as of 15:52, 14 November 2019

en:Install PHP 7 on its dedicated server he:להתקין PHP 7 על שרת ייעודי שלה ro:Instala PHP 7 pe un server dedicat ru:Установка PHP 7 на выделенный сервер pl:Zainstalować PHP 7 na jego serwer dedykowany ja:専用のサーバーで PHP 7 をインストールします。 ar:تثبيت 7 بي إتش بي على خادم مخصص لها zh:在其专用的服务器上安装 PHP 7 de:PHP-7 auf einem dedizierten Server installieren nl:Installeren PHP 7 op zijn dedicated server it:Installare PHP 7 sul proprio server dedicato pt:Instalar o 7 PHP em seu servidor dedicado es:Instalar 7 PHP en su servidor dedicado fr:Installer PHP 7 sur son serveur dédié


Introduction

Want to get the latest major version of PHP on your dedicated server ? This article will help you to install PHP 7 in a few commands and thus boost your sites and CMS running PHP (Performance up to 3 times higher under Wordpress 4.3.1!).

What is PHP ?

PHP is a computer programming language that permit to make a dynamic website, PHP is one of the most used languages to develop a website. PHP 7 is the final version of the older version of PHP.

Installation

Careful, currently the official Debian 8 deposits do not have version 7 of PHP, the package will only be available from Debian 9. However, it is still possible to benefit from PHP 7 on your server under Debian 8. This article is aimed primarily at users with a dedicated server without Plesk installation.

7 Dotdeb 7

  • :
# On ajoute le nouveau dépôts à notre liste
echo "deb http://packages.dotdeb.org jessie all" > /etc/apt/sources.list.d/dotdeb.list
# On ajoute la clé GPG d'identification du dépôts
wget -O- https://www.dotdeb.org/dotdeb.gpg | apt-key add -
  • :
apt-get update

5.x

  • 5
5  Server  7.
dpkg --list | grep php | awk '/^ii/{ print $2}'
  • 5 ( ) 2
# Suppression de tous les packages PHP5 et dépendances
apt-get autoremove --purge php5*

7

  • 7
# Installation de PHP7 ainsi que quelques dépendances et modules principaux pour Apache
apt-get install php7.0 libapache2-mod-php7.0 php7.0-fpm php7.0-mysql php7.0-curl php7.0-json php7.0-gd php7.0-intl php7.0-mbstring php7.0-xml php7.0-zip
Note: 7.0-[module]

7

() Server web.

:
<?php
  phpinfo();
?>
http://ip.Server/info.php

Conclusion

7 7 !

5  5 Server.



You are not allowed to post comments.