ionCube Logo
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


 
Post new topic   Reply to topic    ionCube Forum Index -> ionCube Loader

What is required for runtime loading

Author Message
volarium



Joined: 26 Jun 2006
Posts: 1

PostPosted: Mon Jun 26, 2006 5:14 pm    Post subject: What is required for runtime loading Reply with quote

Can someone provide specifically what needs to be configured to enable runtime loading on a web server? Is it an apache thing? Is it a php thing? I have looked around but haven't been able to find specifics on what needs to be set for runtime loading to be allowed, I've only found generic "your web server is not configured for runtime loading".

Thanks!
Back to top
View user's profile Send private message
liaison
ionCube Support


Joined: 16 Dec 2004
Posts: 2788

PostPosted: Mon Jun 26, 2006 6:44 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    ionCube Forum Index -> ionCube Loader All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum