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 General Discussion
  • Search

How do you fix require_once(): open_basedir restriction in effect with VestaCP?

General questions about VestaCP
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
annahernandez99
Posts: 5
Joined: Sat Jan 09, 2021 7:59 am

Os: Ubuntu 14x
Web: apache
How do you fix require_once(): open_basedir restriction in effect with VestaCP?
  • Quote

Post by annahernandez99 » Thu Apr 29, 2021 7:03 pm

With my CentOS VestaCP installation I can't get it to see pear

require_once ("System.php"); // for pear
Errors with:

Warning: require_once(): open_basedir restriction in effect. File(/usr/share/pear/System.php) is not within the allowed path(s): (/home/$my_account/web/$my_domain/public_html:/home/$my_account/tmp) in /home/$my_account/web/$my_domain/public_html/smtp/test-pear.php on line 34
Ideas?
yesornogenerator
Last edited by annahernandez99 on Fri Apr 30, 2021 7:15 pm, edited 1 time in total.
Top

grayfolk
Support team
Posts: 1111
Joined: Tue Jul 30, 2013 10:18 pm
Contact:
Contact grayfolk
Website Facebook Skype Twitter

Os: CentOS 6x
Web: nginx + php-fpm
Re: How do you fix require_once(): open_basedir restriction in effect with VestaCP?
  • Quote

Post by grayfolk » Thu Apr 29, 2021 10:15 pm

annahernandez99 wrote: ↑
Thu Apr 29, 2021 7:03 pm
With my CentOS VestaCP installation I can't get it to see pear

require_once ("System.php"); // for pear
Errors with:

Warning: require_once(): open_basedir restriction in effect. File(/usr/share/pear/System.php) is not within the allowed path(s): (/home/$my_account/web/$my_domain/public_html:/home/$my_account/tmp) in /home/$my_account/web/$my_domain/public_html/smtp/test-pear.php on line 34
Ideas?
Try to use search first.
search.php?keywords=open_basedir
Top


Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “General Discussion”



  • 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
 

 

Login  •  Register

I forgot my password