简体   繁体   中英

How to add one extension to standard stack after Pinky?

From this article I understand that after September 14th CloudControl will have PHP 5.6 as new standard PHP version and a list of extensions enabled by default.

I understood that these extensions are only loaded once no extensions are specified in composer.json.

Does this mean that if one eg wants to activate apcu for the standard behaviour he has to mention not only apcu but any other extension which is required?

是的,在这种情况下需要列出所有扩展名。

Just in the case the linked article disappears and anyone needs it ... here is the list with all the extensions that are enabled by default (copied from the mentioned article):

composer.json

{
  "require": {
    "php-64bit": "~5.6",
    "ext-amqp": "*",
    "ext-bcmath": "*",
    "ext-bz2": "*",
    "ext-calendar": "*",
    "ext-dba": "*",
    "ext-exif": "*",
    "ext-ftp": "*",
    "ext-curl": "*",
    "ext-gd": "*",
    "ext-gettext": "*",
    "ext-imagick": "*",
    "ext-intl": "*",
    "ext-mbstring": "*",
    "ext-mcrypt": "*",
    "ext-memcached": "*",
    "ext-mongo": "*",
    "ext-mssql": "*",
    "ext-mysql": "*",
    "ext-mysqli": "*",
    "ext-mysqlnd": "*",
    "ext-newrelic": "*",
    "ext-oauth": "*",
    "ext-pdo": "*",
    "ext-pdo_dblib": "*",
    "ext-pdo_mysql": "*",
    "ext-pdo_pgsql": "*",
    "ext-pdo_sqlite": "*",
    "ext-pgsql": "*",
    "ext-shmop": "*",
    "ext-soap": "*",
    "ext-sockets": "*",
    "ext-sqlite3": "*",
    "ext-sysvmsg": "*",
    "ext-sysvsem": "*",
    "ext-sysvshm": "*",
    "ext-wddx": "*",
    "ext-xmlrpc": "*",
    "ext-xsl": "*",
    "ext-zip": "*",
    "ext-zlib": "*"
  }
}

Note: There is also a PHP info available which contains the corresponding extension configuration for the default Pinky stack: http://phpinfo.cloudcontrolled.com/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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