Difference between revisions of "Install PHP 7 on its dedicated server"
Line 1: | Line 1: | ||
+ | <span data-link_translate_en_title="Install PHP 7 on its dedicated server" data-link_translate_en_url="Install PHP 7 on its dedicated server"></span>[[:en:Install PHP 7 on its dedicated server]][[en:Install PHP 7 on its dedicated server]] | ||
<span data-link_translate_he_title="להתקין PHP 7 על שרת ייעודי שלה" data-link_translate_he_url="%D7%9C%D7%94%D7%AA%D7%A7%D7%99%D7%9F+PHP+7+%D7%A2%D7%9C+%D7%A9%D7%A8%D7%AA+%D7%99%D7%99%D7%A2%D7%95%D7%93%D7%99+%D7%A9%D7%9C%D7%94"></span>[[:he:להתקין PHP 7 על שרת ייעודי שלה]][[he:להתקין PHP 7 על שרת ייעודי שלה]] | <span data-link_translate_he_title="להתקין PHP 7 על שרת ייעודי שלה" data-link_translate_he_url="%D7%9C%D7%94%D7%AA%D7%A7%D7%99%D7%9F+PHP+7+%D7%A2%D7%9C+%D7%A9%D7%A8%D7%AA+%D7%99%D7%99%D7%A2%D7%95%D7%93%D7%99+%D7%A9%D7%9C%D7%94"></span>[[:he:להתקין PHP 7 על שרת ייעודי שלה]][[he:להתקין PHP 7 על שרת ייעודי שלה]] | ||
<span data-link_translate_ro_title="Instala PHP 7 pe un server dedicat" data-link_translate_ro_url="Instala+PHP+7+pe+un+server+dedicat"></span>[[:ro:Instala PHP 7 pe un server dedicat]][[ro:Instala PHP 7 pe un server dedicat]] | <span data-link_translate_ro_title="Instala PHP 7 pe un server dedicat" data-link_translate_ro_url="Instala+PHP+7+pe+un+server+dedicat"></span>[[:ro:Instala PHP 7 pe un server dedicat]][[ro:Instala PHP 7 pe un server dedicat]] |
Revision as of 16:30, 9 February 2017
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é
This article has been created by an automatic translation software. You can view the article source here.
Introduction | _. _. You want to take advantage of the latest major version of PHP on your | _. _. dedicated | _. _. This article will allow you to install PHP | _. _. in a few commands and so boost your ites and CMS running PHP
Performance up to: _! _ | times higher under Wordpress | _. _. : _! _ | Attention, at the moment the official Debian repositories | _. _. lack of version | _. _. PHP, the package will be available from Debian | _. _. . It is still possible to benefit from PHP | _. _. on your | _. _. under Debian | _. _. This article is addressed to the essentially to users with a | _. _. dedicated without installation of Plesk. Server Adding the Dotdeb deposits | _. _. As stated above, PHP | _. _. is not yet available in the official repositories of Debian, it will be necessary to configure the repositories of ? , a Debian unofficial repository containing among other things the version | _. _. PHP. 7 Addition of the deposit | _. _. Is to update its deposits | _. _. Remove PHP | _. _. ( Retrieve the list of older modules php | _. _. installed | _. _. It may be useful to keep the list of packages php | _. _. currently installed on your | _. _. for resettlement under PHP | _. _. If PHP | _. _. is already installed and you do not want to mix both versions | _. _. choices presented in this article | _. _. with your Apache installation | _. _. Installation of PHP | _. _. Installation of PHP | _. _. : _! _ | You will understand, if a module is required by your site or project, it will be generally named php | _. _. PHP test | _. _. You have the possibility to test your new version of PHP using the function phpinfo | _. _. to display various information relating to your | _. _. Web. 3 To do this create a new file info.php in the hierarchy of your web site with content | _. _. Access will be made then to | _. _. : _! _ | Under Apache module PHP | _. _. If active automatically, you now get a PHP installation | _. _. functional | _. _. Attention, if you chose to delete the old installation PHP | _. _. you have probably noticed that PHPMyAdmin was part of packages removed during the operation. Indeed LDCS requires a working installation of PHP | _. _. .x to be filled. If you want to keep PHPMyAdmin you will then need to co-locate the two version of PHP on your 4.3.1 ! ).
Installation
8 7 97 Server 8.
Server
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
7
() Server web.
:
<?php phpinfo(); ?>
http://ip.Server/info.php
Conclusion
7 7 !
5 5 Server.
Enable comment auto-refresher