jReviews Support Forum

General => ionCube encoding questions => Topic started by: stephfox on January 29, 2007, 12:15:00 PM



Title: activating ionCube PHP loader files on shared servers without PHP.ini access...
Post by: stephfox on January 29, 2007, 12:15:00 PM
Hi, I've just worked around activating ionCube PHP loader files on a shared host who wouldn't load the files on the server, or edit the PHP.INI file for me...

Here's how to do it:

1) Upload the ionCube files to the top of your user directory (level above your WWW or public_html directory)
2) Create new or edit existing .htaccess file
3) Create line in the .htaccess file: php_value zend_extension <path>/ioncube_loader_lin_4.3.so

( NB: <path> should be replaced with the path to the loader file, eg: /usr/home/ioncube/ioncube_loader_etc... )

This tells the server to change the php_value for your site even without access to the PHP.INI file... Works a charm, and means you can host JReviews on any host without having to have them actively install ionCube (which many won't...)

Hope it helps,
Steph.


Title: Re: activating ionCube PHP loader files on shared servers without PHP.ini access
Post by: markie on January 29, 2007, 01:59:21 PM
I just uploaded the Ioncube folder to the www dir, seems to work.

Is it important to edit the .htaccess file?


Title: Re: activating ionCube PHP loader files on shared servers without PHP.ini access
Post by: pietrogallo on April 02, 2007, 04:43:46 AM
stephfox

The .htaccess workaround for ioncube worked like a charm.

Thanks! Great tip.


Title: Re: activating ionCube PHP loader files on shared servers without PHP.ini access...
Post by: frenchtowner on August 18, 2007, 10:10:48 AM
I have uploaded the ioncube to public_html or www folder. Will it not work there?

I have checked the ioncube helper file, and it seems to work.

Do I have to change the .htaccess file? and if I do, can someone please post the code that I should add here, but in a format like below:

Code:

---------------------------
<start>the actual code</end>
---------------------------

Thanks, Frenchtowner




Title: Re: activating ionCube PHP loader files on shared servers without PHP.ini access...
Post by: roby1978 on October 17, 2007, 07:46:14 PM
can't find the htaccess file...how do I create a new one?


Title: Re: activating ionCube PHP loader files on shared servers without PHP.ini access...
Post by: roby1978 on October 17, 2007, 08:07:39 PM
mmh...I realized that being hosted for free in awardspace is probably making me impossible to install and make it work ioncube, even with the cool trick explained above: does anybody know if i can install ioncube on a free account on awardspace?


Title: Re: activating ionCube PHP loader files on shared servers without PHP.ini access
Post by: Alejandro on October 17, 2007, 08:36:40 PM
I don't know, but you might be asking for too much  :-\


Title: Re: activating ionCube PHP loader files on shared servers without PHP.ini access...
Post by: roby1978 on October 18, 2007, 01:43:48 PM
I solved the problem, now ioncube is installed and working, and jreviews module appears...I just need to put my trial license key somewhere, since everytime I try to perfor some operations appear a message requesting my key: where do I find my trial license key and how do I upload it?

Thanks again


Title: Re: activating ionCube PHP loader files on shared servers without PHP.ini access...
Post by: roby1978 on October 18, 2007, 01:50:14 PM
well...ioncube is not probably perfect installed...I do see the modules in the front-end, but when I go in the back end, click on components---jreviews---component & management....again the same problem, ion cube looks not installed...is getting hard to make this work...


Title: Re: activating ionCube PHP loader files on shared servers without PHP.ini access...
Post by: mojito on January 01, 2009, 04:42:38 PM
for my godaddy server in the root as far up as they allow my ftp client to go and i edit the htaccess with the following and it takes down the site !

Code:
php_value zend_extension <path>/ioncube_loader_lin_5.2.so

so it doesnt at all work like a charm for me

my website structure is that i have a joomla install in the root with an htaccess file

can anyone help for some reason the ioncube helper file cant run


Title: Re: activating ionCube PHP loader files on shared servers without PHP.ini access...
Post by: Alejandro on January 01, 2009, 09:26:07 PM
Do you know if you can use a custom php.ini file? Because that's how most users are getting this to work. You put the file in the /administrator folder with the zend_extension path to the ionCube loader. There are other posts describing this.