liaison ionCube Support
Joined: 16 Dec 2004 Posts: 2788
|
Posted: Mon Jun 26, 2006 6:44 pm Post subject: |
|
|
RTL is neither an Apache nor PHP thing, but an ionCube thing. It is server agnostic, and dependent on the PHP setup. On a large majority of servers the technique is supported, and although copyright to us, you can study the Loader herlp script code if you wish and use portions of it.
At a high level:
1) the Loader needs to be present in a directory called ioncube at or above the level of the first encoded script, e.g. the web root or above.
2) the dl() function needs to be supported and enabled
3) it must be possible to construct a relative path from the module extensions directory to the location of the Loader
In more detail:
Point 1 requires that the correct Loader has been installed
Point 2 requires that dl() has not been disabled by enable_dl set to off, safe_mode set to on, or dl added to the list of disabled functions. PHP should also be a non-threaded build unless used as CGI
Point 3 requires that the extensions directory exists, and that the file permissions are appropriate for constructing a relative path. On Windows, the extension directory must be on the same drive as the encoded files as relative paths cannot span logical drives (i.e. different drive letters). An extension directory setting of "./" is ideal and common.
One useful point to note is that with pure CGI mode, the system php.ini file can be overridden by a local file. This allows any unfavourable php.ini file on a CGI based server to be supplanted, and can be very useful. _________________ Community Admin |
|