CentOS 服务器上的 PHP 模块 - 我需要哪些?

标签 php wordpress module webserver centos

我刚刚将 LAMP 的所有组件安装到我的 CentOS Web 服务器上。
现在有几个库可供我选择安装:

我的需求:我只想运行 网络服务器 并安装 WordPress 在上面。

我的问题:我需要什么模块?

[root@***** ~]# yum search php-
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: 
 * extras: 
 * updates: 
============================================== N/S Matched: php- ==============================================
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-devel.x86_64 : Files needed for building PHP extensions
php-embedded.x86_64 : PHP library for embedding in applications
php-enchant.x86_64 : Human Language and Character Encoding Support
php-fpm.x86_64 : PHP FastCGI Process Manager
php-gd.x86_64 : A module for PHP applications for using the gd graphics library
php-imap.x86_64 : A module for PHP applications that use IMAP
php-intl.x86_64 : Internationalization extension for PHP applications
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-mysql.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-pecl-apc.x86_64 : APC caches and optimizes PHP intermediate code
php-pecl-apc-devel.x86_64 : APC developer files (header)
php-pecl-memcache.x86_64 : Extension to work with the Memcached caching daemon
php-pgsql.x86_64 : A PostgreSQL database module for PHP
php-process.x86_64 : Modules for PHP script using system process interfaces
php-pspell.x86_64 : A module for PHP applications for using pspell 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-tidy.x86_64 : Standard PHP module provides tidy library support
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
php-zts.x86_64 : Thread-safe PHP interpreter for use with the Apache HTTP Server

最佳答案

我可能没有完整的列表,但这里有一些建议:

  • php-mysql
  • php-pdo
  • php-梨
  • php-pecl
  • php-xml

  • 但是,如果我是你,我会安装 PEAR package manager ,并从中安装所有必需的扩展或模块。似乎从单一来源管理所有 php 库会更容易,因为我敢打赌,在某些时候,您会想要使用无法通过 yum 存储库获得的 php 库。

    关于CentOS 服务器上的 PHP 模块 - 我需要哪些?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17494405/

    相关文章:

    php - 在 PHP 中更新查询

    python - 如何从自定义模块在 Odoo 中创建库存变动?

    perl - 您认为哪些模块会成为理想的 Perl 5 默认值?

    haskell - 将一个模块具体化为一条记录

    php - Apache 重写语法中 PHP 的 dirname(__FILE__) 的等价物?

    javascript - 如何使用 `id` 而不是 `name` 发布 HTML 表单

    php - 具有连接表数据的 Laravel selectRaw

    wordpress - Twig 分页无法正常工作

    mysql - 从 WordPress 查询中获取字段值

    php - WooCommerce - 如何在 calculate_shipping 函数中获取购物车商品的运输类别?