PDA

View Full Version : ionCube problem


gordonwd
09-03-2008, 06:34 PM
The tester.php script told me that my system did not have Zend, but passed for ionCube, but when I uploaded the EPC files and ran .../setup/index.php, I got this message:

Site error: the file (xxx)/calendar/setup/index.php requires the ionCube PHP Loader ioncube_loader_lin_5.2.so to be installed by the site administrator.

I can see that the specified .so file is in the .../ioncube subdirectory. What has to be done to "install" it? My web host allows me to have my own php.ini file in my home directory. Do I need some lines in there?

gordonwd
09-03-2008, 08:06 PM
Never mind -- I think I have it working. I had to make a local php.ini with the line "zend_extension=/homepages/..../ioncube/ioncube_loader_lin_5.2.so" in it.

The trick was that, reading my web hosting company's FAQ carefully (1and1.com), I had to put a copy of this php.ini file in every directory where an encrypted script is executed from. This is a bit of a pain, but seems to have done the trick. At least the ioncube-installer-helper.php script now says everything is OK!

It's too late to try running EPC's setup script, so I'll continue with the EPC setup tomorrow.