Posted: Wed Aug 09, 2006 4:23 pm
Hi!
Leide das mal an deinen Hoster.
Grüße,
Garvin
Leide das mal an deinen Hoster.
Grüße,
Garvin
User and developer community
https://board.s9y.org/
Code: Select all
safe_mode_exec_dir .:usr/local/srv/binary:/home/xxx/blog.stephan.manske-net.de
safe_mode_include_dir .:/usr/local/srv/php4/pear:/etc/apache2/binary:/home/xxx/blog.stephan.manske-net.deCode: Select all
Konnte folgendes Programm nicht ausführen: "/usr/local/bin/convert -antialias -resize '110x110>' '/srv/www/vhosts/meinedomain.de/httpdocs/serendipity/uploads/meinbild.jpg' '/srv/www/vhosts/meinedomain.de/httpdocs/serendipity/uploads/meinbild.thumb.jpg'", Fehlermeldung: , Rückgabewert: 1
Code: Select all
ls -la /usr/local/bin/convertCode: Select all
-rwxrwxrwx 1 root root 23628 Sep 11 12:03 /usr/local/bin/convertCode: Select all
<?php
passthru('/usr/bin/whoami');
?>
Code: Select all
wwwrunCode: Select all
<?php
$dir = '/usr/local/bin';
if (!empty($dir) && (function_exists('is_executable') && is_executable($dir . '/convert')) || is_file($dir . '/convert')) {
echo "FOUND: " . $dir . '/convert';
} else {
echo "NOT FOUND: " . $dir . '/convert';
}
?>
Code: Select all
Warning: is_executable() [function.is-executable]: open_basedir restriction in effect. File(/usr/local/bin/convert) is not within the allowed path(s): (/srv/www/vhosts/meinedomain.de/httpdocs:/tmp) in /srv/www/vhosts/meinedomain.de/httpdocs/test.php on line 3
Warning: is_file() [function.is-file]: open_basedir restriction in effect. File(/usr/local/bin/convert) is not within the allowed path(s): (/srv/www/vhosts/meinedomain.de/httpdocs:/tmp) in /srv/www/vhosts/meinedomain.de/httpdocs/test.php on line 3
NOT FOUND: /usr/local/bin/convert
Code: Select all
<?php
$dir = '/usr/local/bin';
if (function_exists('is_executable')) echo 'is_executable exists ';
if (function_exists('is_executable') && is_executable($dir . '/convert')) { echo 'File is executable'; } else { echo 'File is NOT executable '; }
if (is_file($dir . '/convert')) echo 'File IS_FILE ';
?>
Code: Select all
is_executable exists
Warning: is_executable() [function.is-executable]: open_basedir restriction in effect. File(/usr/local/bin/convert) is not within the allowed path(s): (/srv/www/vhosts/meinedomain.de/httpdocs:/tmp) in /srv/www/vhosts/meinedomain.de/httpdocs/test2.php on line 4
File is NOT executable
Warning: is_file() [function.is-file]: open_basedir restriction in effect. File(/usr/local/bin/convert) is not within the allowed path(s): (/srv/www/vhosts/meinedomain.de/httpdocs:/tmp) in /srv/www/vhosts/meinedomain.de/httpdocs/test2.php on line 5
Code: Select all
Warning: is_executable() [function.is-executable]: open_basedir restriction in effect. File(/usr/local/bin/convert) is not within the allowed path(s): (/srv/www/vhosts/meinedomain.de/httpdocs:/tmp) in /srv/www/vhosts/meinedomain.de/httpdocs/test.php on line 3
Code: Select all
; open_basedir, if set, limits all file operations to the defined directory
; and below. This directive makes most sense if used in a per-directory
; or per-virtualhost web server configuration file. This directive is
; *NOT* affected by whether Safe Mode is turned On or Off.
open_basedir = /usr/local/bin