Create Magento App
Create ScandiPWA AppScandiPWA DocsGitHub
v1
v1
  • Create Magento App
  • Getting started
    • Getting Started
    • Prerequisites
      • Linux requirements
      • MacOS requirements
        • Apple Silicon
      • Windows requirements
    • Available commands
      • Start the application
      • Stop the application
      • Check application status
      • Enter application CLI
      • Explore application logs
      • Execute commands in Docker containers
      • Link a theme
      • Import database dump
      • ⚠️ Uninstall a project
    • Folder structure
    • Updating to New Releases
      • Testing Alpha Releases
    • Configuration File
    • Supported Magento versions
    • How does it work?
    • Limitations
  • Usage guide
    • Using console commands
    • Accessing Docker containers
    • Linking a Scandi Theme
    • Enabling XDebug
    • Enabling SSL
    • Configuring PHP
    • Use custom domain
    • Access on the local network
    • Importing database
      • Importing remote database
    • Using Enterprise Edition
    • Converting legacy Docker setup to CMA
    • Improve Performance
  • Scripts Extensions
    • PHP Extensions
      • ionCube Extension
  • Troubleshooting
    • Common Issues
    • CMA Debugging
    • Uninstall CMA
Powered by GitBook
On this page
  • Installation
  • Demo
  1. Scripts Extensions
  2. PHP Extensions

ionCube Extension

This package is for magento-scripts V1 only!

This package simplifies the installation of the ionCube extension in the CMA project using magento-scripts V1.

Installation

1. Install package.

npm i @scandipwa/magento-scripts-php-ioncube-extension@0.0.3

# with yarn

yarn add @scandipwa/magento-scripts-php-ioncube-extension@0.0.3

2. Enable extension in cma.js

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

PreviousPHP ExtensionsNextCommon Issues

Last updated 2 years ago

Demo setup available

here