Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Installing a new .so with dl()
Old 02-17-2009, 02:23 AM Installing a new .so with dl()
RadGH's Avatar
Skilled Talker

Posts: 76
Name: Radley
Trades: 0
Hey, so I am putting a website together for a guy who just bought some software that uses something called "ionCube" that we must install. It came with different versions for different versions of PHP from 4.1 to 5.2.

We have 5.2.5 installed, which is supposed to work... But I am having some troubles.

It's giving me this error that may or may not be useful:
Code:
Warning: dl() [function.dl]: Temporary module name should contain only filename in /home/#MYWEBSITE#/public_html/invite/ioncube/ioncube-loader-helper.php on line 411
The module name its using AFAIK is
Code:
/usr/local/lib/php/extensions/no-debug-non-zts-20060613/../../../../../../home/#MYWEBSITE#/public_html/invite/ioncube/ioncube_loader_lin_5.2.so
That may not be where we can find the solution though, as that is only one option to install it. The second is to add the extension to php.ini using
Code:
zend_extension = /<path>/ioncube_loader_lin_5.2.so
We do not have access to the global php.ini because we do not own the server. I looked for ways to override the php.ini similar to how you would use htaccess and found something about using "CGI" will let you use a PHP.ini in the same directory as your scripts, but the script still gave the same error as without the PHP.ini file:
Code:
Site error: the file /home/#MYWEBSITE#/public_html/invite/inc/classes/setupclass.php requires the ionCube PHP Loader ioncube_loader_lin_5.2.so to be installed by the site administrator.


So I am looking for some advice to install this. Should I actually contact the server host and see if they can install it? Is there a better guide to installing these .so files? I may be doing something wrong, but it doesn't give me any control. I access the directory, it gives an error, there is no room for user error.


@Using the loader for linux x86 on a host running linux x86
http://www.ioncube.com/loaders.php

Last edited by RadGH; 02-17-2009 at 02:27 AM..
RadGH is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 02-17-2009, 03:31 PM Re: Installing a new .so with dl()
rogem002's Avatar
PHP Chap

Posts: 843
Name: Mike
Location: United Kingdom
Trades: 0
In the php.ini file, put

Code:
zend_extension = ioncube_loader_lin_5.2.so
instead of

Code:
zend_extension = /<path>/ioncube_loader_lin_5.2.so
__________________
My Blog/Site:
Please login or register to view this content. Registration is FREE
rogem002 is offline
Reply With Quote
View Public Profile Visit rogem002's homepage!
 
Old 02-18-2009, 03:38 AM Re: Installing a new .so with dl()
RadGH's Avatar
Skilled Talker

Posts: 76
Name: Radley
Trades: 0
I do not have access to the PHP.ini.

I solved the problem by changing hosts... Unfortunately

Last edited by RadGH; 02-19-2009 at 04:23 PM..
RadGH is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Installing a new .so with dl()
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.11963 seconds with 12 queries