(deprecated) ionCube Extension
Deprecated package!
Please use PHP Extensions Package for installing the ionCube PHP extension into the CMA V2 project!
This extension simplifies the installation of ionCube extension in CMA project.
Installation
1. Install package.
npm i @scandipwa/magento-scripts-php-ioncube-extension@latest
# with yarn
yarn add @scandipwa/magento-scripts-php-ioncube-extension@latest
2. Enable extension in cma.js
const ioncube = require('@scandipwa/magento-scripts-php-ioncube-extension');
/** @type {import('@scandipwa/magento-scripts').CMAConfiguration} */
module.exports = {
magento: {
// ... magento config
},
configuration: {
php: {
extensions: {
ioncube // <- set extension here
}
}
}
};
3. Run magento-scripts
npm start
# with yarn
yarn start
4. Confirm that extension is installed
npm run cli
> php -v
PHP 7.4.27 (cli) (built: Jan 7 2022 17:53:56) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with the ionCube PHP Loader + ionCube24 v11.0.0, Copyright (c) 2002-2021, by ionCube Ltd.
Demo
Demo setup available here
Last updated
Was this helpful?