简体   繁体   English

如何安装 php-imap

[英]How to install php-imap

I need to install php-imap on my remote server.For that I have searched php -imap using below command before installing.我需要在我的远程服务器上安装 php-imap。为此,我在安装之前使用以下命令搜索了 php -imap。

yum search php

Here is my result.But I coulndt find php-imap on this.How should I install php-imap on my server?这是我的结果。但我无法在此找到 php-imap。我应该如何在我的服务器上安装 php-imap?

===================================================================== Name & Summary Matched: php ======================================================================
php.x86_64 : PHP scripting language for creating dynamic web sites
php-bcmath.x86_64 : A module for PHP applications for using the bcmath library
php-cli.x86_64 : Command-line interface for PHP
php-common.x86_64 : Common files for PHP
php-dba.x86_64 : A database abstraction layer module for PHP applications
php-dbg.x86_64 : The interactive PHP debugger
php-devel.x86_64 : Files needed for building PHP extensions
php-embedded.x86_64 : PHP library for embedding in applications
php-enchant.x86_64 : Enchant spelling extension for PHP applications
php-fpm.x86_64 : PHP FastCGI Process Manager
php-gd.x86_64 : A module for PHP applications for using the gd graphics library
php-gmp.x86_64 : A module for PHP applications for using the GNU MP library
php-intl.x86_64 : Internationalization extension for PHP applications
php-json.x86_64 : JavaScript Object Notation extension for PHP
php-ldap.x86_64 : A module for PHP applications that use LDAP
php-mbstring.x86_64 : A module for PHP applications which need multi-byte string handling
php-mysqlnd.x86_64 : A module for PHP applications that use MySQL databases
php-odbc.x86_64 : A module for PHP applications that use ODBC databases
php-pdo.x86_64 : A database access abstraction module for PHP applications
php-pear.noarch : PHP Extension and Application Repository framework
php-pgsql.x86_64 : A PostgreSQL database module for PHP
php-process.x86_64 : Modules for PHP script using system process interfaces
php-recode.x86_64 : A module for PHP applications for using the recode library
php-snmp.x86_64 : A module for PHP applications that query SNMP-managed devices
php-soap.x86_64 : A module for PHP applications that use the SOAP protocol
php-xml.x86_64 : A module for PHP applications which use XML
php-xmlrpc.x86_64 : A module for PHP applications which use the XML-RPC protocol
========================================================================== Name Matched: php ===========================================================================
php-opcache.x86_64 : The Zend OPcache
php-pecl-apcu.x86_64 : APC User Cache
php-pecl-apcu-devel.x86_64 : APCu developer files (header)
php-pecl-zip.x86_64 : A ZIP archive management extension

I found this in the User Contributed Notes on the PHP web site.我在 PHP web 站点上的用户贡献说明中发现了这一点。 The comment was posted about ten months ago.该评论是在大约十个月前发布的。

For CentOS对于 CentOS

If you are using PHP 7.2, run this:如果您使用的是 PHP 7.2,请运行以下命令:

yum install sclo-php72-php-imap百胜安装 sclo-php72-php-imap

Then restart Apache with this:然后用这个重启 Apache:

systemctl restart httpd systemctl 重启 httpd

I no longer run Red Hat Linux so I can't test it.我不再运行 Red Hat Linux 所以我无法测试它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM