Hi,
I stumbled upon a weird problem involving many custom management systems and blog software.
Take a file in blog/plugins/pname/ and in that file is an include_once('file2.php'); where file2.php is located in the same directory (pname).
Result: open_basedir restriction in effect. It's impossible to ask the customers to change every include statement because this has worked before a server upgrade.
Current setup: PHP 5.0.3 (cli), apache2 suse setup by server4you.de
example from confixx_vhosts.conf:
Is there any simple solution to adjust this problem without asking all the customers to change hudreds of pages of code ?
I stumbled upon a weird problem involving many custom management systems and blog software.
Code:
blog/
/themes/
/plugins/
index.php
Result: open_basedir restriction in effect. It's impossible to ask the customers to change every include statement because this has worked before a server upgrade.
Current setup: PHP 5.0.3 (cli), apache2 suse setup by server4you.de
example from confixx_vhosts.conf:
Code:
<VirtualHost myip>
ServerName domain.tld
ServerAlias www.domain.tld account.server4you.de
DocumentRoot /srv/www/web15/html
SuexecUserGroup web15 ftponly
ScriptAlias /cgi-bin/ /srv/www/web15/html/cgi-bin/
php_admin_value open_basedir /srv/www/web15/:/srv/www/htdocs/phpMyAdmin/:/srv/www/htdocs/confixx/html/gesperrt/
php_admin_value upload_tmp_dir /srv/www/web15/phptmp/
</VirtualHost>