open_basedir error although the correct path is set
Posted: 10 Dec 2019, 10:56
I just tried to install X3 on my shared hosting (netcup, Germany).
This is the error message:
And this is actually the case: I can't login.
This is my open_basedir variable (local value AND master value) according to phpinfo().
I'm on PHP 7.4 but also tried 7.1, 7.2 and 7.3.
My hosting provider allows two different settings for the open_basedir variable, I tried both. Both contain /var/lib/php/sessions thus this shouldn't be a problem.
Is this a bug?
This is the error message:
Code
PHP session.save-path directory is blocked by open_basedir. Your server session.save_path is set to /var/lib/php/sessions but this directory is not within your open_basedir allowed paths. If you can't login to your X3 panel, it means X3 can't save the login-session, in which case you need to contact your host.
This is my open_basedir variable (local value AND master value) according to phpinfo().
Code
/var/www/vhosts/hostingxxxxxx.asdf.netcup.net/httpdocs/domain.tld/:/tmp/:/var/lib/php5/sessions:/var/lib/php/sessions:/var/www/vhosts/hostingxxxxxx.asdf.netcup.net/tmp
My hosting provider allows two different settings for the open_basedir variable, I tried both. Both contain /var/lib/php/sessions thus this shouldn't be a problem.
Is this a bug?