Warning: file_exists(): open_basedir restriction in effect.
Posted: Wed Sep 04, 2019 10:06 pm
I am migrating wordpress to a new server,
my old server had wordpress with php 5.6.40 CentOS 7
my new server is php 7.2 in Ubuntu
I restored a backup from vestacp to the new server,
but on wordpress I keep getting this error message:
I have tried this on wp-config.php but no luck:
I have also tried rebuilding the user, no luck:
any ideas as to what else I can try?
thanks
my old server had wordpress with php 5.6.40 CentOS 7
my new server is php 7.2 in Ubuntu
I restored a backup from vestacp to the new server,
but on wordpress I keep getting this error message:
Code: Select all
Warning: file_exists(): open_basedir restriction in effect. File(/home/wreuser/web/hub.domain.com/public_html/wp-content/db.php) is not within the allowed path(s): (/home/wreuser/web/hub.domain.com/public_html:/home/wreuser/tmp) in /home/wreuser/web/hub.domain.com/public_html/wp-content/plugins/query-monitor/output/html/db_queries.php on line 165
Code: Select all
define('WP_TEMP_DIR', dirname(__FILE__).'../../../tmp');
Code: Select all
/usr/local/vesta/bin/v-rebuild-user
thanks