Mailinglisten-Archive |
Hallo Sebastian,
Sebastian Mendel schrieb:
>
> eventuell gehören die .so die dort liegen nicht zum aktuellen PHP-binary
>
> mach mal
>
> $ find / -name mysqli.so
>
siehe anderer Thread.
> ich verwende die mysql(i) sowieso nicht als shared object, warum auch,
> ich brauch es ja eh (fast) IMMER
>
ähm das ist natürlich ne Möglichkeit. Ich glaub mich daran zu erinnern
das es "non-shared" geklappt hatte.
>
> hast du mal dein error-reporting hoch geschraubt?
>
error_reporting = E_ALL & ~E_NOTICE | E_STRICT
>
> <?php
> ini_set('display_errors', 1);
> error_reporting(E_ALL);
>
> echo ini_get('open_basedir');
> include '/etc/passwd';
> ?>
>
>
> Warning: include() [function.include]: open_basedir restriction in
> effect. ...
>
> Warning: include(...) [function.include]: failed to open stream:
> Operation not permitted in ...
>
> Warning: include() [function.include]: Failed opening '...' for
> inclusion (include_path='...') in ...
>
/var/ww/web2/html/
Warning: include() [function.include
<http://web2.srv4.sysproserver.de/function.include>]: open_basedir
restriction in effect. File(/etc/passwd) is not within the allowed
path(s): (/var/ww/web2/html/) in /var/www/web2/html/info.php on line 6
Warning: include(/etc/passwd) [function.include
<http://web2.srv4.sysproserver.de/function.include>]: failed to open
stream: Operation not permitted in /var/www/web2/html/info.php on line 6
Warning: include() [function.include
<http://web2.srv4.sysproserver.de/function.include>]: Failed opening
'/etc/passwd' for inclusion
(include_path='.:/home/admin/php/b/php-5.1.6/lib/php') in
/var/www/web2/html/info.php on line 6
und mit richtiger open_basedir auf htmlroot des users:
/var/www/web2/html/
Warning: include() [function.include
<http://web2.srv4.sysproserver.de/function.include>]: open_basedir
restriction in effect. File(/etc/passwd) is not within the allowed
path(s): (/var/www/web2/html/) in /var/www/web2/html/info.php on line 6
Warning: include(/etc/passwd) [function.include
<http://web2.srv4.sysproserver.de/function.include>]: failed to open
stream: Operation not permitted in /var/www/web2/html/info.php on line 6
Warning: include() [function.include
<http://web2.srv4.sysproserver.de/function.include>]: Failed opening
'/etc/passwd' for inclusion
(include_path='.:/home/admin/php/b/php-5.1.6/lib/php') in
/var/www/web2/html/info.php on line 6
Gruß Holm
php::bar PHP Wiki - Listenarchive