Myapi_Myconf Magento Module: Installation Instructions

Installation Instructions

Install the ionCube Loader Package

The ionCube’s loader is required before to use the Myapi_Myconf Magento Module.

As explained on the ionCube Website, follow these steps :

  1. Download the loader package on http://www.ioncube.com/loaders.php
  2. Extract the files into /ussr/local :
    # cd /usr/local
    # tar -xzvf $HOME/ioncube_loaders_lin_x86-64.tar.gz 
    ioncube/
    ioncube/ioncube_loader_lin_5.0.so
    ioncube/ioncube_loader_lin_4.3.so
    ioncube/ioncube_loader_lin_4.2.so
    ioncube/ioncube_loader_lin_5.3.so
    ioncube/ioncube_loader_lin_5.5_ts.so
    ioncube/ioncube_loader_lin_5.4.so
    ioncube/loader-wizard.php
    ioncube/ioncube_loader_lin_4.3_ts.so
    ioncube/ioncube_loader_lin_5.5.so
    ioncube/LICENSE.txt
    ioncube/ioncube_loader_lin_5.4_ts.so
    ioncube/ioncube_loader_lin_5.3_ts.so
    ioncube/ioncube_loader_lin_4.4.so
    ioncube/ioncube_loader_lin_4.4_ts.so
    ioncube/ioncube_loader_lin_5.2.so
    ioncube/ioncube_loader_lin_4.1.so
    ioncube/README.txt
    ioncube/ioncube_loader_lin_5.1_ts.so
    ioncube/ioncube_loader_lin_5.0_ts.so
    ioncube/ioncube_loader_lin_5.1.so
    ioncube/ioncube_loader_lin_5.2_ts.so

    Note: Libraries with ‘.._ts.so’ must be used when the PHP’s Thread Safety is enabled

  3. Verify your PHP version
    # php --version
    PHP 5.3.10-1ubuntu3.10 with Suhosin-Patch (cli) (built: Feb 28 2014 23:14:25) 
    Copyright (c) 1997-2012 The PHP Group
    Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies
  4. Check if PHP’s Thread Safety is enabled or not
    # php -info | grep -i safety
    Thread Safety => disabled

    Modify your php.ini file

    # grep ioncube /etc/php5/fpm/php.ini 
    zend_extension = /usr/local/ioncube/ioncube_loader_lin_5.3.so

    Notes :

    • use the version corresponding to your PHP version
    • use the ts.so version if PHP’s Thread Safety is enabled

     

  5. Restart Apache
    Note : ionCube provide a test script loader-wizard.php to verify that all is working correctly

Install Myapy_Myconf Module

  1. Extract my Myapy_Myconf module into your Magento installation directory
  2. Copy the license key (myapi_license.txt) into the module directory :<magento_paht>/app/code/local/Myapi/Myconf/
  3. Change the files ownner:group (chmod)
  4. Update Magento Cache and Indexes.
  5. Run Compilation Process in Magento Admin (System -> Tool -> Compilation)

Verify that WSDL schema is updated and navigate to

  • https://<hostname>/api/soap/?wsdl
  • https://<hostname>/api/v2_soap/?wsdl=1

and search for MyapiProductCreate

If It is not working, don’t hesitate to contact me.

Nicolas Portais

Ce contenu a été publié dans Magento Module, avec comme mot(s)-clé(s) , , , , , , , , , , , , , , , , . Vous pouvez le mettre en favoris avec ce permalien.