I have a VestaCP installation running on Ubuntu 16.04 .
I have a wordpress plugin that gives the folowing error
Code: Select all
Warning: tempnam(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/home/user1/web/mywebsite.com/public_html:/home/user1/tmp) in /home/user1/web/mywebsite.com/public_html/wp-content/plugins/reportbuilder/lib/PHPWord/TemplateProcessor.php on line 76
can you please help me on how I should fix this error and remove open_basedir restriction on the tmp folder and get the plugin to work?