Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

open_basedir

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
1 post • Page 1 of 1
airrjw
Posts: 4
Joined: Thu Jan 13, 2022 6:42 pm

Os: Ubuntu 17x
Web: apache + nginx
open_basedir
  • Quote

Post by airrjw » Wed Jan 19, 2022 8:35 pm

Trying to manually install an app and I keep getting: 'realpath(): open_basedir restriction in effect. File(/home/admin/web/temp.com) is not within the allowed path(s): (/home/admin/web/temp.com/public_html:/home/admin/tmp)'

I've already modified /usr/local/vesta/data/templates/web/apache2/basedir.stpl to have php_admin_value open_basedir %docroot%:%home%/%user%/tmp:/tmp and rebuilt web, didn't fix it. Changed it to open_basedir non and rebuilt, still didn't fix it. I've also modified /home/admin/web/temp.com.apache2.conf to point /home/admin/web/temp.com/public_html/app and it still pops the exact same error. Anyone know a fix for this?
Top


Post Reply
  • Print view
1 post • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

cron

Login  •  Register

I forgot my password