Jump to content


Ioncube Loader


6 replies to this topic

#1 Guest_jchera_*

  • Guests

Posted 12 March 2004 - 03:56 AM

Greetings,
I need your advice/support. I'm currently using a package called X-cart (Web
management system that is encoded with Ioncube. My problem is the
following:

The Ioncube extension is not been initiated. PHP is 100% running. I get the
following message when I tried using a PHP file that is encrypted:


****************************************************************************
*****************************
This demo version is protected by ionCube PHP Encoder. System failed to
install appropriate ionCube PHP Loader for your system.

Possible reasons:
1. You are using MS Windows and X-Cart and PHP are located on different
logical drives (eg. PHP is installed on disk C: and X-Cart on disk D:). To
resolve this, move X-Cart to the same disk as PHP or put all loader files
from the xcart/ioncube directory to the directory defined in the variable
extension_dir in php.ini file (c:\php4\extensions\ by default). Also, you
can visit the ionCube PHP Loader homepage, download the valid loaders for
your system and install them following the instructions, provided by README
file in loaders archive.
2. Unsupported version of PHP (currently versions 4.0.6 - 4.3.x are
supported)
3. Dynamic loading is disabled at your system (eg. safe mode is on, or
enable_dl is off)
4. Unsupported operation system (currently demo is available for Windows
NT/2000/XP, FreeBSD 4, Linux Intel, Solaris Sparc, NetBSD, OpenBSD).

To install the ionCube loader at your server, please add the the following
line in your php.ini, before any other zend_extension lines:
zend_extension = C:\php\ioncube\ioncube_loader_win_4.3.dll
****************************************************************************
******

I followed the instructions given above and no luck. Also I visited your
support site and it still not working.

This is what I have done:

1. Copied ioncube_loader_win_4.3.dll to c:\PHP\extensions folder
2.Granted appropriate NT permissions to allow the files to be read and
executed
3. I even placed the ioncube dll in c:\windows\system32 folder and still
no luck.
4. Modified the PHP file as required (This might be might problem). In
Windows, where do you place the call for the ioncube extension in the
PHP.ini file?

*I noticed that in Windows, the PHP.ini file does not have a Zend ext
area.

I will appreciate your assistance on this. I'm looking forward to youre
response.

#2 Gustavo el Geranie

    Advanced Member

  • Members
  • PipPipPip
  • 716 posts

Posted 12 March 2004 - 11:02 AM

I don't really know about windows PHP, but afaik you need to set those values
extension=ioncube_loader_win_4.3.dll
extension_dir = "./dlls"

Check for extension_dir in your php.ini file. It will probably not point to "./extensions", but to "./dlls". Check that the ioncube dll is in the directory pointed to by extension_dir.
(The value for extension_dir abve is only an example, use the one already set)

#3 Guest_jchera_*

  • Guests

Posted 15 March 2004 - 04:29 PM

Thank you very much Gustavo for your quick response on this. I checked the PHP.ini file and it is pointing to the right directory. I purposely moved the ioncube.dll file to the directory where the other extensions reside. Still not working :=( Any other suggestion?

#4 Gustavo el Geranie

    Advanced Member

  • Members
  • PipPipPip
  • 716 posts

Posted 15 March 2004 - 07:58 PM

Is this the problem?

Quote

1. You are using MS Windows and X-Cart and PHP are located on different logical drives (eg. PHP is installed on disk C: and X-Cart on disk D:)
Then

Quote

To
resolve this, move X-Cart to the same disk as PHP or put all loader files
from the xcart/ioncube directory to the directory defined in the variable
extension_dir in php.ini file (c:\php4\extensions\ by default).
You need to copy more files than only one .dll

#5 Guest_jchera_*

  • Guests

Posted 17 March 2004 - 12:23 AM

Hey Gustavo!
Thanks for your advise. That didn't work. I actually emailed Ioncube support to fix this. Their support documentation is not quite accurate.
In their site they advice to modify the PHP.ini by adding this entry:

zend_extension = C:\php\ioncube\ioncube_loader_win_4.3.dll

However, when the Ioncube support person replied to me, he told me that the above was incorrect. I needed this:

zend_extension_ts = C:\php\ioncube\ioncube_loader_win_4.3.dll

*Note the "ts" at the end of the entry.

Once I edited the PHP.ini file.........wallla!!!!!! Working like charm.....

This was a good problem though.
Once again, thanks for your support.

#6 Guest_Tech. Support._*

  • Guests

Posted 06 August 2005 - 03:24 AM

The topic discussed about ioncube loder was very useful.

Thanks for both of you.

#7 Guest_Rod_*

  • Guests

Posted 30 December 2005 - 02:16 PM

Hi,

I have at this moment the same proble, i try your solution but stil have any installation of X-CART.
Could you give me your php.ini, i will see if it's work with. I use EasyPhp 1.8 on W2K.

Thanks in advance for your answer.

Rod


Quote

Hey Gustavo!
Thanks for your advise. That didn't work. I actually emailed Ioncube support to fix this. Their support documentation is not quite accurate.
In their site they advice to modify the PHP.ini by adding this entry:

zend_extension = C:phpioncubeioncube_loader_win_4.3.dll

However, when the Ioncube support person replied to me, he told me that the above was incorrect. I needed this:

zend_extension_ts = C:phpioncubeioncube_loader_win_4.3.dll

*Note the "ts" at the end of the entry.

Once I edited the PHP.ini file.........wallla!!!!!!  Working like charm.....

This was a good problem though.
Once again, thanks for your support.








1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users