Ioncube will nicht auf vServer von strato

uhu

New Member
Hallo,

ich habe einen vServer von Strator mit Opensuse und Plesk.
Wenn ich Ioncube wie bei ioncube beschrieben installieren will passiert einfach garnichts. Der Eintrag in die php.ini verursacht auch keine Fehlermeldung oder so. Es geht einfach nicht.

Die test-PHP Dateien von ioncube verursachen auch keinerlei Fehler oder sonstiges

kann mir bitte jemand helfen?
 
Okay erstmal danke.
Ich habe mich nun nochmal dediziert hingesetzt und bin imo ein paar Schritte weiter.

Ioncube sitzt jetzt in /srv/www/ioncube

In /etc/php5/apache2/php.ini steht folgendes:

[EXTENSIONS]
zend_extension = /srv/www/ioncube/ioncube_loader_lin_5.2.so

In /srv/www/vhosts/meinedomain.de/conf/vhost.conf steht folgendes:

<Directory /srv/www/vhosts/meinedomain.de/httpdocs>
<IfModule sapi_apache2.c>
php_admin_value_open_basedir "/srv/www/vhosts/meinedomain.de/httpdocs:/tmp:/usr/bin:/srv/www/ioncube"
</ifModule>
</Directory>


Das apache error log spuckt folgendes aus:

[Wed Nov 04 18:36:41 2009] [error] [client 99.99.99.99] PHP Warning: realpath(): open_basedir restriction in effect. File(/usr/lib/php5/extensions) is not within the allowed path(s): (/srv/www/vhosts/meinedomain.de/httpdocs:/tmp) in /srv/www/vhosts/meinedomain.de/httpdocs/meinsubdir/plugins/community/jmrphpbb.php on line 2, referer: http://www.meinedomain.de/meinsubdir/

[Wed Nov 04 18:36:41 2009] [error] [client 99.99.99.99] PHP Warning: file_exists(): open_basedir restriction in effect. File(/srv/www/vhosts/meinedomain.de/ioncube/ioncube_loader_lin_5.2.so) is not within the allowed path(s): (/srv/www/vhosts/meinedomain.de/httpdocs:/tmp) in /srv/www/vhosts/meinedomain.de/httpdocs/meinsubdir/plugins/community/jmrphpbb.php on line 2, referer: http://www.meinedomain.de/meinsubdir/

[Wed Nov 04 18:36:41 2009] [error] [client 99.99.99.99] PHP Warning: file_exists(): open_basedir restriction in effect. File(/srv/www/vhosts/ioncube/ioncube_loader_lin_5.2.so) is not within the allowed path(s): (/srv/www/vhosts/meinedomain.de/httpdocs:/tmp) in /srv/www/vhosts/meinedomain.de/httpdocs/meinsubdir/plugins/community/jmrphpbb.php on line 2, referer: http://www.meinedomain.de/meinsubdir/

[Wed Nov 04 18:36:41 2009] [error] [client 99.99.99.99] PHP Warning: file_exists(): open_basedir restriction in effect. File(/srv/www/ioncube/ioncube_loader_lin_5.2.so) is not within the allowed path(s): (/srv/www/vhosts/meinedomain.de/httpdocs:/tmp) in /srv/www/vhosts/meinedomain.de/httpdocs/meinsubdir/plugins/community/jmrphpbb.php on line 2, referer: http://www.meinedomain.de/meinsubdir/

[Wed Nov 04 18:36:41 2009] [error] [client 99.99.99.99] PHP Warning: file_exists(): open_basedir restriction in effect. File(/srv/ioncube/ioncube_loader_lin_5.2.so) is not within the allowed path(s): (/srv/www/vhosts/meinedomain.de/httpdocs:/tmp) in /srv/www/vhosts/meinedomain.de/httpdocs/meinsubdir/plugins/community/jmrphpbb.php on line 2, referer: http://www.meinedomain.de/meinsubdir/


Also liegt es evtl am open_basedir. Aber warum frisst der Apache meine vhost.conf nicht? In der Fehlermeldung sieht man ja, dass als openbasedir nur der Standard bernommen wird.
 
Hallo!
Bitte kontrolliere mal, ob da wirklich
Code:
php_admin_value_open_basedir "/srv/www/vhosts/meinedomain.de/httpdocs:/tmp:/usr/bin:/srv/www/ioncube"
steht. Das sollte php_admin_value open_basedir "/srv/www/vhosts/meinedomain.de/httpdocs:/tmp:/usr/bin:/srv/www/ioncube" php_admin_value und open_basedir.

eher so aussehen.

mfG
Thorsten
 
Danke für die schnelle Antwort.

Der Fehler den du erkannt hast lag tatsächlich vor. Allerdings hat die Korrektur keinerlei Auswirkungen auf die Funktionstüchtigkeit von Ioncube und/oder den Ausgaben im error_log :(
 
Hallo!
Nach manuellen Änderungen bitte das Plesk spezifische Tool websrvmgr nicht vergessen und die Konfiguration ggf. einmal komplett neu schreiben zu lassen.

mfG
Thorsten
 
Back
Top