Knowledgebase
View categorized listing of all common frequently asked questions.
Video Tutorials (jReviews 2.0)
Create a Movie & TV Show review website.
Customize the jReviews themes.
Review user profiles with the Everywhere addon.
Forum
Community forum
Submit a Ticket
Use your client area email to access the ticket system.
Downloads
Guides, modules and more...
CSV Import for Joomla and jReviews
 
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 01, 2008, 09:35:17 PM
21662 Posts in 4948 Topics by 2838 Members
Latest Member: davidkan
News: Use your client area email when you sign up to the forum so we can identify you as a trial or licensed user. Otherwise we may not answer your questions.
 
jReviews Support Forum  |  General  |  Encoding questions  |  Installing ioncube on 1and1 servers « previous next »
Pages: [1]
Author Topic: Installing ioncube on 1and1 servers  (Read 4902 times)
Harrison
Full Member
***
Offline Offline

Posts: 59


« on: March 07, 2008, 08:18:37 PM »

Until now
Until this week it was straight forward to install ioncube on a server hosted with 1and1.  You just uploaded the ioncube file ioncube_loader_lin_5.2.so to the root of your server's hosting directory and the server would automatically find and used it.

Changes to 1and1 setup now stop this working
As of this week 1and1 have started to upgrade their servers, and this includes updating to php 5.2.5.  With this version of php the dl() function has been disabled on the server, and this was needed to make the run-time install of ioncube work.  Therefore if any of you using a 1and1 server have your ioncube install setup by just having the ioncube loader in the root of your hosting space, then it might suddenly stop working once 1and1 get around to upgrading your server.

Thankfully there is a solution.

Installing ioncube
Download the current ioncube package for your server from here.

Upload the file ioncube_loader_lin_5.2.so from this package into the root of your hosting webspace.

Next you need to create a new php.ini file using notepad or any other text editor.  Inside of this file put the following and then save the file:

Code:
zend_extension=/homepages/xx/dxxxxxxxxx/htdocs/ioncube_loader_lin_5.2.so
(Put the relevant parts for your specific server path where I have put the x's.  You can find this path out from your 1and1 control panel).

Then copy this php.ini file onto your server, placing it into the Joomla Administrator directory.  (It needs to be in here as this is the location of the index.php file that is called when the jReviews administration panel is loaded).

And that is it.  Now the server and jReviews should find and load the ioncube loader and allow the jReviews backend to work.
« Last Edit: March 07, 2008, 08:36:27 PM by Harrison » Logged
yannenater
Newbie
*
Offline Offline

Posts: 2


« Reply #1 on: April 01, 2008, 07:44:08 AM »

Hello,

I'm trying to install ioncube on 1and1.fr servers and it doesn't work...

It says :

Quote
Warning: dl() [function.dl]: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20020429//../../../../../homepages/X/xxxxxxxx/htdocs/ioncube/ioncube_loader_lin_4.4.so' - /usr/lib/php/extensions/no-debug-non-zts-20020429//../../../../../homepages/X/xxxxxxxx/htdocs/ioncube/ioncube_loader_lin_4.4.so: cannot open shared object file: No such file or directory in /homepages/X/xxxxxxxx/htdocs/ioncube/ioncube-loader-helper.php on line 411

and

Quote
Run-Time Loading Installation Instructions
Testing Server
Testing whether your system supports run-time loading...


Looking for Loader 'ioncube_loader_lin_4.4.so'

Extensions Dir: /usr/lib/php/extensions/no-debug-non-zts-20020429 (/usr/lib/php/extensions/no-debug-non-zts-20020429)
Relative Path: /../../../../../homepages/X/xxxxxxxx/htdocs/ioncube/
Found Loader: /usr/lib/php/extensions/no-debug-non-zts-20020429/../../../../../homepages/X/xxxxxxxx/htdocs/ioncube/ioncube_loader_lin_4.4.so

 Undecided

any idea?
Logged
Alejandro
Global Moderator
Administrator
Hero Member
*****
Offline Offline

Posts: 8593


« Reply #2 on: April 01, 2008, 07:57:05 AM »

Have you tried getting support from your host?
Logged

Please take the time to vote and to write a review: http://extensions.joomla.org
Reviews Ahoy! - Submit your jReviews site here.
yannenater
Newbie
*
Offline Offline

Posts: 2


« Reply #3 on: April 01, 2008, 08:02:10 AM »

Actually, no... Tongue

But is it really nessecary for me to install this version of JReviews if the 2.0 is coming soon?  Wink
« Last Edit: April 01, 2008, 08:09:18 AM by yannenater » Logged
Harrison
Full Member
***
Offline Offline

Posts: 59


« Reply #4 on: April 09, 2008, 11:24:36 AM »

That is very similar to the errors I received after 1and1 upgraded their servers to PHP 5.2.5 because this removed a function required to auto include the ioncube loader.

Did you try the method I outlined above?  Remembering to create a php.ini file with the line shown, but changed to reference the location of the iconcube loader on your server.  However your server seems to need the older 4.4 version of the loader, so just replace the one I've referred to with that version when you are doing it.
Logged
DeanMarshall
Newbie
*
Offline Offline

Posts: 1


WWW
« Reply #5 on: April 28, 2008, 07:34:30 AM »


Because on 1and1's servers PHP is run as through a cgi interface the local php.ini settings don't propagate to subfolders. I find it is necessary to put the php.ini file in the root, in /administrator/ and in /administrator/com_jreviews/  . This makes the jReviews admin interface accessible. I'm doing this for a client and can't give it a thorough test on his live site - but I've asked him to report back on any issues.

The only issues I can foresee would be caused by the presence of encoded files in subfolders under the /administrator/com_jreviews/ folder. In this case the php.ini file would need to be copied to these sub-folders too.

So far things are looking good - fortunately this means we won't require 1and1's support staff - because frankly they aren't up to the job.

Dean.
Logged

eskwire
Sr. Member
****
Offline Offline

Posts: 180



WWW
« Reply #6 on: May 25, 2008, 03:54:55 PM »

Hi Harrison,

Thanks so much for your guide.  It save me lots of time.

I had all of the steps except for placing the php.ini file in the Administrator directory.

I moved the file I had created there and everything worked perfect!

Thanks Again!
Logged

Let Intown Web design help you with   jReviews Support
Best Headphone Reviews
ailema
Newbie
*
Offline Offline

Posts: 2


« Reply #7 on: June 30, 2008, 11:52:19 PM »

hmm am not really familiar with  ioncube on 1and1 servers but is this for joomla codes rght?
Logged

FluidDynamics
Newbie
*
Offline Offline

Posts: 2


« Reply #8 on: October 05, 2008, 10:04:38 AM »

This is from the 1and1 Administrator FAQ if anyone needs additional info
(note: they too mention you need the php.ini in each folder):

What's the PHP configuration?

On our Managed Servers PHP is installed as a CGI application. Scripts ending
in ".php" are executed by the PHP-interpreter using your customer ID.

The PHP installation includes the following modules:Module    Version
Expat   1.95.6
Sablotron   1.0
PCRE   4.5
OpenSSL   0.9.6
Libcurl   7.10.3
MySQL Client API   4
IMAP c-Client   4.1
GD   2.0 or higher (FreeType, TTF library, GIF Read/Create, JPG, PNG, WBMP)
GDBM   1.8.0
Zlib   1.2.1


The php.ini file contains the following default values:
upload_max_filesize:20 M
max_execution_time:300
memory_limit:40 M
post_max_size:8 M
SMTP:localhost

The php.ini file should be placed in all the directories that has PHP scripts you
want effected by that php.ini file.

PHP version 5 is available to use with your 1&1 Managed Server
Logged
FluidDynamics
Newbie
*
Offline Offline

Posts: 2


« Reply #9 on: October 05, 2008, 03:18:46 PM »

The following information may be helpful for beginners
(i'm throwing this in here because a fair number of people trying to use ioncube on 1and seem to be navigating here from google for advice:):

1) Which ioncube loader do I download? (from:  http://www.ioncube.com/loaders.php ):

You can find the server information and php info. your hosting company is using from the Joomla administrator's control panel under a menu on the top right: "Help > System info." Often it will be running on an x86 Linux machine.

2) If you don't know how to use FTP (although if this is the case you may want to learn a little more about this.  If you're going to be playing around with a Joomla website, you'll need to know how to move files around from time to time) you can use the "windows installer" package instead of the .zip version.  It includes a little FTP service that will allow you to upload the Ioncube loader to wherever you'd like on the remote server (it creates a folder called "ioncube").

Help is available here on the installer: http://help.ioncube.com/ipf/index.php?page=intro&version=3.0.6&type=remote&locale=en_US

Generally you'll want to have the "ioncube" folder one directory level above any.php files that you're going to be using.  And if you're with 1and1 make sure you place the .ini files as described above.

3) Other interesting information about 1and1, php, and ioncube:

“It's not that they are running php version 4x, they actually run version 5, but they've set it so that files with just a .php extension run in version 4 mode - files with .php5 run with version 5. No clue as to why they are doing it that way.”

http://forum.joomla.org/viewtopic.php?f=430&t=325310&p=1416220

4) Keep in mind that the older this post gets the less relevant this information will be.
Logged
Pages: [1]
« previous next »
    Jump to: