I wanted to install Magento 2. So I uploaded the complete extracted folder on my site, but now when I open mysite.com/setup the following error shows up. What could that be and how can I fix it?
Warning: realpath(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/home/www/web445/html/:/home/www/web445/phptmp/:/home/www/web445/files/:/home/www/web445/atd/:/usr/local/php5.6/lib/php/:/usr/local/php5.6/pear/:/usr/local/php5.6/bin/) in /home/www/web445/html/shop/vendor/magento/framework/Filesystem/DirectoryList.php on line 99 Fatal error: Uncaught exception 'Exception' with message 'Warning: realpath(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/home/www/web445/html/:/home/www/web445/phptmp/:/home/www/web445/files/:/home/www/web445/atd/:/usr/local/php5.6/lib/php/:/usr/local/php5.6/pear/:/usr/local/php5.6/bin/) in /home/www/web445/html/shop/vendor/magento/framework/Filesystem/DirectoryList.php on line 99' in /home/www/web445/html/shop/vendor/magento/framework/App/ErrorHandler.php:61 Stack trace: #0 [internal function]: Magento\Framework\App\ErrorHandler->handler(2, 'realpath(): ope...', '/home/www/web44...', 99, Array) #1 /home/www/web445/html/shop/vendor/magento/framework/Filesystem/DirectoryList.php(99): realpath('/tmp') #2 /home/www/web445/html/shop/vendor/magento/framework/App/Filesystem/DirectoryList.php(145): Magento\Framework\Filesystem\DirectoryList->__construct('/home/www/web44...', Array) #3 /home/www/web445/html/shop/setup/src/Magento/Setup/Mvc/Bootstrap/InitParamListener.php(219): Magento\Fra in /home/www/web445/html/shop/vendor/magento/framework/App/ErrorHandler.php on line 61
I had the same error, if anyone sove that please tell us what is need to do.
Warning: realpath(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/home/web/domain.ro/htdocs/:/home/web/domain.ro/tmp/) in /home/web/domain.ro/htdocs/vendor/magento/framework/Filesystem/DirectoryList.php on line 99 Fatal error: Uncaught exception 'Exception' with message 'Warning: realpath(): open_basedir restriction in effect