Running Encoded Application with ionCube As a base for our encoded app example, well use the default Jelastic Hello World project - take a quick look at a code snippet from its index.php file during conversion: before encoding after encoding HRcPzETxKVkUDPezoPuP9U3QAbpvijoNvPblnqz4n22wdzHK5YALipdjelyb3PzXDgW7R23a sV4ho1xgjKfOhcILhKjjQzddzHCP4LgY6AVRniFjtYoeEVQG2us1pRfGtlLstVaL6mWkQBjh8xAo KsSEOfFM9IaQTh8Slt5futFfMu7gyKfXAzDHP3YLGzXZJWrxI0MioqVEyqUbMQ58ywvtRtT U9tEkOE9ykLIcqk2hej71lJBSJPbPJJyrJ7jyKaM0BD4k1PQ6BQP4rvlOnSFlSplNe82H4XBe u4uXEzsICn8z3SzbFSIuy99rgbo0KozlbsrWlXNzCoeI7LIH7dvgdvQQJKIlfMUeh6Kqm7LYI s6jhLiBDCH0wQHk7TMf9onrc4lwFQdesycz3O4cdp3gALFMSSR304Yr5LUmnTyTyN2CW6dgVs9L d6bbk7YnEUjQfc4BYBYHZH4EFwWFqB5FI4oyIbaHl79iFyH37c3yH7HRdT6NCIqxttaQpRLXm 4AKttNrXZ7c3Gbk4f9onnyNVwIO66NQnNiwnrkTbZhUNPuvrmFKctqYsWjL0t707IiI17jJdpq HjUTux5o3GmHIlQbMJsvoaKbjXVmrF41bFePRxUwXRLjC3jTtrHcbXuFnQCvih36nAyZgj1aR FtJBrVZcxOZHcQTTD3L5Y1rEcXPMj9bH6b6eu2UPwXfuadwtOVvbz0Xfd5ur69ZCM4AqdRxkaQ helGAdG5iYkkPeq The compiled code contains several layers of encoding that can be interpreted and processed only by ionCube Loader.Today well talk about ionCube - one of the most popular and widely used solutions to prevent unauthorized use.Being PHP-oriented, ionCube provides two correlated tools Encoder to compile PHP files into bytecode and Loader, which handles execution of such encoded files.Whilst encoding shouldnt be a big problem for the majority of developers, running such protected application can become a real point of concern for an average user, since often it requires the involvement of some auxiliary modules and libraries.
Ioncube Decoder Manual Server ConfigurationsThus, to enable executing secured PHP source code without struggling on manual server configurations, the Jelastic Cloud provides dedicated lightweight ionCube Loader add-on for one-click installation. Ioncube Decoder How To Start OperatingSo, log in to the Jelastic dashboard with your credentials and follow the instruction how to start operating encoded scripts in a matter of minutes. First of all, lets ensure you have a proper PHP environment for processing your protected code with ionCube Loader. For that, launch the environment topology wizard (by clicking either New Environment button at the dashboard top or Change environment topology icon next to the existing one) and switch to PHP tab. ![]() When selecting a particular engine, you need to consider its compatibility with ionCube Encoder version your scripts were initially converted with. As a general rule of thumb, encoded files could be processed on PHP versions that are equal to and higher than the source Encoder language, i.e. However, there are a few exceptions here: currently, PHP 7.1 is not supported with PHP 7.0 engine, only PHP 5.6 -based files can be decoded with PHP 5.6 and PHP 5.5, scripts of PHP 4 version cant be decoded To confirm the set parameters, click on Create or Apply (depending on whether youve created a new environment or adjusted the existing one). Now, enter Jelastic Marketplace and switch to the section with pluggable Add-ons. Use search box to locate the one-click ionCube package and click Install. Tip: The ionCube add-on sources are available within Jelastic JPS Collection, alongside with a number of other useful prepackaged solutions (all of them can be integrated through importing a manifest.jps link for the appropriate repository). In the opened installation window, specify the following details: Environment name - environment the ionCube tool should be integrated to ( encoded-app, in our case) Nodes - target PHP application server for the add-on appliance (is fetched automatically upon selecting the environment) Proceed with clicking on Install and wait a minute till this process is completed (youll also receive the appropriate email notification). Note: During add-on appliance, the appropriate application server will be restarted that can cause a temporary downtime of your service (if any is already running inside). To avoid such outage, scale out a number of application servers beforehand so they can be restarted sequentially (with a predefined delay, 30 seconds by default). Verification with ionCube Loader Wizard The simplest way to ensure ionCube was successfully integrated is to review the phpinfo() server output - information on its status and version is listed in a separate block just under the main server configuration stats. For more comprehensive check-up, you can launch a dedicated ionCube Loader Wizard within the appropriate container. It will test the proper Loader operability and provide you with a guidance in case any issue is detected. This step is optional and does not affect the actual ionCube operability. Thus, if you consider the additional check is needed, follow the instructions below: 1. Ioncube Decoder Archive Via TheUpload this archive via the Deployment Manager and initiate its deployment by selecting the destination environment (e.g. In the opened dialog, type some custom context to run the wizard at (so that it wont intersect your main app location - e.g. Deploy. Tip: Consider enabling Zero DownTime ( ZDT ) functionality to ensure availability of your project during subsequent redeployments. When the project is deployed, click Open in browser next to it. To launch the Wizard itself, append loader-wizard.php to the end of the opened tab URL. It will analyze and output the current ionCube add-on status, including the appropriate Loader version and PHP engine it runs at. For security reasons, its highly recommended to Delete the Wizard when it is no longer required - simply remove the server context it was handled at. Thats it Finally, lets consider how to put the Loader add-on into action with the files that require decoding.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |