designbuyers — 2011-04-14T08:56:17-04:00 — #1
I want to know which is the best method to encrypt php scripts for distribution ?
thereddevil — 2011-04-14T13:51:23-04:00 — #2
I would recommend IonCube, we have used it for years and have had no problems with their solution.
We actually also have Zend Guard, but the majority of our clients want IonCube encrypt files.
Another good thing with IonCube is that they have a online solution where you can encrypt just the files you need and just pay for those files, instead of purchasing the software. So that might be an option for you if you dont want to spend that much money on the software at the moment.
tangoforce — 2011-04-14T09:24:33-04:00 — #3
Zend but unfortunately that costs a lot of money.
There are others out there but unfortunately they're not supported by default like zend seems to be.
I'd suggest you find someone who has zend and offer to pay them for the encryption of your code. Also in case your users want to mod the system somewhere (EG use plugins) i'd suggest you only encrypt the core of your system so that it can't be used without your core code but can still be used with external code. This encrypted code could of course have code which makes a check to your licensing server to check its licence is valid
designbuyers — 2011-04-14T20:57:31-04:00 — #4
How about the loaders it might make a problem as server require a loaders ?
Zend and IonCube both required a loader, how about the products addons as that's what I am working on and it seems it have to be loader in server to put in directory to make it work, or the server have the loaders
tangoforce — 2011-04-14T21:04:52-04:00 — #5
I think both zend and ioncube are installed by default on most linux servers.
As mentioned in my previous post others are not.
force — 2011-04-15T14:07:36-04:00 — #6
I've been using IonCube's online encoder, since it's a less expensive method for infrequent use. Yes, most respectable hosts provide Zend and IonCube loaders on their servers.
tangoforce — 2011-04-15T14:38:49-04:00 — #7
@RedDevil and Force: Thats a very handy tip you've just provided.
Looking at the standalone encoder $199 is pretty good. I might buy that..