• This forum has a zero tolerance policy regarding spam. If you register here to publish advertising, your user account will be deleted without further questions.

Ioncube auf php 5.5.30 instalieren

BigBen

New Member
Hallo

ich habe schon hier in Forum gesucht aber nichts gefunden.

Meine Frage hat jemand eine Installation Anleitung?


Ich habe debian 7 und PHP 5.5.30.

PHP 5.5.30-1~dotdeb+7.1 (cli) (built: Oct 1 2015 17:38:39)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2015 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2015, by Zend Technologies


Also ich habe zwar eine Anleitung gefunden und auch das befolgt ohne Erfolg habe immer noch diese Fehler Meldung.

Warning: realpath(): open_basedir restriction in effect. File(/usr/lib/php5/20121212) is not within the allowed path(s): (/var/www/virtual/xxxxxxxxxx.com/:/usr/share/php/) in /var/www/virtual/xxxxxxxxxx.com/htdocs/include/dbconst.php on line 16

Warning: file_exists(): open_basedir restriction in effect. File(/var/www/ioncube/ioncube_loader_lin_5.5.so) is not within the allowed path(s): (/var/www/virtual/xxxxxxxxxx.com/:/usr/share/php/) in /var/www/virtual/xxxxxxxxxx.com/htdocs/include/dbconst.php on line 16

Bitte um dringende Hilfe vielen Dank im voraus für Eure Antworten.

Gruß
 
Last edited by a moderator:
Die Fehlermeldung besagt dass open_basedir limitiert wo die Extension-Dateien liegen dürfen. Ich würde empfehlen es in den gleichen Ordner wie die anderen PHP-Erweiterungen des Systems zu legen, unterhalb /usr/share/php.
 
Die Fehlermeldung besagt dass open_basedir limitiert wo die Extension-Dateien liegen dürfen. Ich würde empfehlen es in den gleichen Ordner wie die anderen PHP-Erweiterungen des Systems zu legen, unterhalb /usr/share/php.

Hi


danke für deine Antwort habe es /usr/share/php/ioncube

installiert und in php.ini das eingefügt

zend_extension = /usr/share/php/ioncube/ioncube_loader_lin_5.5.so

und in /etc/php5/conf.d in ioncube.ini
steht auch das hier
zend_extension = /usr/share/php/ioncube/ioncube_loader_lin_5.5.so

habe überall vo ioncube ordner war gelöscht aber andem fehler ändert sich garnicht. :confused:


Gruß
 
Warning: realpath(): open_basedir restriction in effect. File(/usr/lib/php5/20121212) is not within the allowed path(s): (/var/www/virtual/xxxxxxx.com/:/usr/share/php/) in /var/www/virtual/xxxxxxx.com/htdocs/include/dbconst.php on line 16

Warning: file_exists(): open_basedir restriction in effect. File(/var/www/virtual/ioncube/ioncube_loader_lin_5.5.so) is not within the allowed path(s): (/var/www/virtual/xxxxxxx.com/:/usr/share/php/) in /var/www/virtual/xxxxxxx.com/htdocs/include/dbconst.php on line 16

Warning: file_exists(): open_basedir restriction in effect. File(/var/www/ioncube/ioncube_loader_lin_5.5.so) is not within the allowed path(s): (/var/www/virtual/xxxxxxx.com/:/usr/share/php/) in /var/www/virtual/xxxxxxx.com/htdocs/include/dbconst.php on line 16

Warning: file_exists(): open_basedir restriction in effect. File(/var/ioncube/ioncube_loader_lin_5.5.so) is not within the allowed path(s): (/var/www/virtual/xxxxxxx.com/:/usr/share/php/) in /var/www/virtual/xxxxxxx.com/htdocs/include/dbconst.php on line 16
 
Warning: file_exists(): open_basedir restriction in effect. File(/var/ioncube/ioncube_loader_lin_5.5.so) is not within the allowed path(s): (/var/www/virtual/xxxxxxx.com/:/usr/share/php/) in /var/www/virtual/xxxxxxx.com/htdocs/include/dbconst.php on line 16

Was steht denn in dbconst.php in Zeile 16?

Davon abgesehen, nutzt du den opcache? In dem Fall ist nämlich die Reihenfolge relevant, erst ioncube und dann opcache.
 
Was steht denn in dbconst.php in Zeile 16?

Davon abgesehen, nutzt du den opcache? In dem Fall ist nämlich die Reihenfolge relevant, erst ioncube und dann opcache.

Da steht


if(!extension_loaded('ionCube Loader')){$__oc=strtolower(substr(php_uname(),0,3));$__ln='ioncube_loader_'.$__oc.'_'.substr(phpversion(),0,3).(($__oc=='win')?'.dll':'.so');if(function_exists('dl')){@dl($__ln);}if(function_exists('_il_exec')){return _il_exec();}$__ln='/ioncube/'.$__ln;$__oid=$__id=realpath(ini_get('extension_dir'));$__here=dirname(__FILE__);if(strlen($__id)>1&&$__id[1]==':'){$__id=str_replace('\\','/',substr($__id,2));$__here=str_replace('\\','/',substr($__here,2));}$__rd=str_repeat('/..',substr_count($__id,'/')).$__here.'/';$__i=strlen($__rd);while($__i--){if($__rd[$__i]=='/'){$__lp=substr($__rd,0,$__i).$__ln;if(file_exists($__oid.$__lp)){$__ln=$__lp;break;}}}if(function_exists('dl')){@dl($__ln);}}else{die('The file '.__FILE__." is corrupted.\n");}if(function_exists('_il_exec')){return _il_exec();}echo('<font face=verdana size=1>This file cannot be loaded correctly [v7]. Please contact <a href=\'mailto:salman@kaonmail.com?Subject=Cannot load i-file on php:'.phpversion().'\'>support</a> for further assistance. Err:ILoad</font>');exit(199);
?>

Keine ahnung ob ich opcache wo kann ich das sehen?

Gruß
 
Sagt phpinfo denn dass Ioncube überhaupt geladen ist nachdem du die php.ini angepasst hast?
 
Back
Top