#1  
Old 5th October 2009, 19:40
Dag Andresen Dag Andresen is offline
Member
 
Join Date: Sep 2009
Posts: 30
Thanks: 5
Thanked 0 Times in 0 Posts
Default Ioncube problem

Hey,

I'm trying to install ioncube, I have followed their instructions but it seems like the ioncube isn't loaded...

I'm recieving these errors when trying to open an encoded file:


Quote:
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/lib64/php/modules/../../../../var/www/clients/client8/web35/ioncube/ioncube_loader_lin_5.1.so) is not within the allowed path(s): (/var/www/clients/client8/web35/web:/var/www/clients/client8/web35/tmp:/usr/share/php5) in /var/www/clients/client8/web35/web/scripts/admin/index.php on line 2

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/lib64/php/modules/../../../../var/www/clients/client8/ioncube/ioncube_loader_lin_5.1.so) is not within the allowed path(s): (/var/www/clients/client8/web35/web:/var/www/clients/client8/web35/tmp:/usr/share/php5) in /var/www/clients/client8/web35/web/scripts/admin/index.php on line 2

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/lib64/php/modules/../../../../var/www/clients/ioncube/ioncube_loader_lin_5.1.so) is not within the allowed path(s): (/var/www/clients/client8/web35/web:/var/www/clients/client8/web35/tmp:/usr/share/php5) in /var/www/clients/client8/web35/web/scripts/admin/index.php on line 2

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/lib64/php/modules/../../../../var/www/ioncube/ioncube_loader_lin_5.1.so) is not within the allowed path(s): (/var/www/clients/client8/web35/web:/var/www/clients/client8/web35/tmp:/usr/share/php5) in /var/www/clients/client8/web35/web/scripts/admin/index.php on line 2

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/lib64/php/modules/../../../../var/ioncube/ioncube_loader_lin_5.1.so) is not within the allowed path(s): (/var/www/clients/client8/web35/web:/var/www/clients/client8/web35/tmp:/usr/share/php5) in /var/www/clients/client8/web35/web/scripts/admin/index.php on line 2

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/lib64/php/modules/../../../../ioncube/ioncube_loader_lin_5.1.so) is not within the allowed path(s): (/var/www/clients/client8/web35/web:/var/www/clients/client8/web35/tmp:/usr/share/php5) in /var/www/clients/client8/web35/web/scripts/admin/index.php on line 2

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/lib64/php/modules/../../../ioncube/ioncube_loader_lin_5.1.so) is not within the allowed path(s): (/var/www/clients/client8/web35/web:/var/www/clients/client8/web35/tmp:/usr/share/php5) in /var/www/clients/client8/web35/web/scripts/admin/index.php on line 2

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/lib64/php/modules/../../ioncube/ioncube_loader_lin_5.1.so) is not within the allowed path(s): (/var/www/clients/client8/web35/web:/var/www/clients/client8/web35/tmp:/usr/share/php5) in /var/www/clients/client8/web35/web/scripts/admin/index.php on line 2

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/lib64/php/modules/../ioncube/ioncube_loader_lin_5.1.so) is not within the allowed path(s): (/var/www/clients/client8/web35/web:/var/www/clients/client8/web35/tmp:/usr/share/php5) in /var/www/clients/client8/web35/web/scripts/admin/index.php on line 2

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/lib64/php/modules/ioncube/ioncube_loader_lin_5.1.so) is not within the allowed path(s): (/var/www/clients/client8/web35/web:/var/www/clients/client8/web35/tmp:/usr/share/php5) in /var/www/clients/client8/web35/web/scripts/admin/index.php on line 2
The file /var/www/clients/client8/web35/web/scripts/admin/index.php has been encoded with the ionCube PHP Encoder and requires the free ionCube PHP Loader to be installed.
Anyone know what this is all about? open_basedir restriction?

Also what is the correct folder to put the ioncube files into? I tried everything from usr/lib64/php/modules/ioncube to /var/www/ioncube and /usr/local/lib/ioncube....

Everytime I have edited php.ini file accordingly and restarted apache, without luck.

Thanks
Reply With Quote
Sponsored Links
  #2  
Old 6th October 2009, 11:26
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,186
Thanks: 829
Thanked 5,417 Times in 4,259 Posts
Default

Which Linuxdistribution and which php.ini file did you edit? Also which PHP mode did you use for the wesbite?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 6th October 2009, 12:34
Dag Andresen Dag Andresen is offline
Member
 
Join Date: Sep 2009
Posts: 30
Thanks: 5
Thanked 0 Times in 0 Posts
 
Default

Hi,

I managed to get ioncube work, however I'm still recieving the "open_basedir restriction in effect" error. I tried to edit the vhosts file with mixed sucess (all errors disappeared when I disabled open_basedir, however as far as I know this isn't safe).

Do you know how to remove this error? What's the correct way?

This is my info:
PHP Version: 5.1.6
Operating System: Linux
Threaded PHP: No
php.ini file: /etc/php.ini
Required Loader: ioncube_loader_lin_5.1.so
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
TLS Problem admins Installation/Configuration 1 19th September 2009 10:55
ERROR- Connection dropped by imap-server Al1937 Installation/Configuration 10 4th September 2009 21:15
Problem with mail and plugin djmostek Installation/Configuration 10 3rd September 2007 21:12
postfix mysql on fedora core5 igongora Installation/Configuration 7 17th April 2007 04:40
SMTP TLS Problem with Mail Client dschmid Installation/Configuration 1 9th December 2005 01:56


All times are GMT +2. The time now is 14:51.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.