This package simplifies the installation of the following PHP extensions in the Create Magento App project using magento-scripts
V2.
pdo_sqlsrv
(Microsoft SQL Server)
sqlsrv
(Microsoft SQL Server)
Imagick
(since version 1.0.6)
With newer versions of the package, this list might be updated!
Installation
Install package.
npm i @scandipwa/magento-scripts-php-extensions@latest
# or with yarn
yarn add @scandipwa/magento-scripts-php-extensions@latest
Enable extensions in cma.js
// cma.js
const {
ioncube,
memcached,
pdo_sqlsrv,
sqlsrv,
imagick
} = require('@scandipwa/magento-scripts-php-extensions');
/** @type {import('@scandipwa/magento-scripts').CMAConfiguration} */
module.exports = {
// ... other configurations
configuration: {
php: {
extensions: { // <- set extensions here
ioncube,
memcached,
pdo_sqlsrv,
sqlsrv,
imagick
}
}
}
};
Run magento-scripts
npm start
# or with yarn
yarn start
Demo
Demo setup available here
Last updated