How to add one extension to standard stack after Pinky?

61 Views Asked by At

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 e.g. wants to activate apcu for the standard behaviour he has to mention not only apcu but any other extension which is required?

2

There are 2 best solutions below

2
pst On BEST ANSWER

Yes, it is required to list all extensions in this case.

0
conceptdeluxe On

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/