Page 1 of 1

Error in VestaCP while deploying LARAVEL script

Posted: Sat Jun 08, 2019 6:28 pm
by cyberking55
Hi all, I am trying to deploy a laravel script in my vestaCP. i have ubuntu and php 7.1, I have installed ioncube loader.

I tried to upload the file (created a directory i.e. smm outside public_html and put all public files from my project to public_html. Now I am getting this error, i don't know what to do at this situation

Warning: require(): open_basedir restriction in effect. File(/home/admin/web/smm.dreamwebsters.com/smm/bootstrap/autoload.php) is not within the allowed path(s): (/home/admin/web/smm.dreamwebsters.com/public_html:/home/admin/tmp) in /home/admin/web/smm.dreamwebsters.com/public_html/index.php on line 28

Warning: require(/home/admin/web/smm.dreamwebsters.com/smm/bootstrap/autoload.php): failed to open stream: Operation not permitted in /home/admin/web/smm.dreamwebsters.com/public_html/index.php on line 28

Fatal error: require(): Failed opening required '/home/admin/web/smm.dreamwebsters.com/public_html/../smm/bootstrap/autoload.php' (include_path='.:/usr/share/php') in /home/admin/web/smm.dreamwebsters.com/public_html/index.php on line 28

Any help would be appreciated.