This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Open Base Temp Directory errors
#2
RE: Open Base Temp Directory errors
Hello elftidus you are trying to open a folder outside of the OpenBaseDir (that is usually /var/sentora/ACCOUNT/public_html/DOMAIN_TLD/), for security reasons that is disabled.

See http://forums.sentora.org/showthread.php?tid=1606

The 3rd warning is a suhosin restriction, keep reading:

Suhosin
Sentora uses suhosin (suhosin Official Website) as the executor, you should check your httpd-vhosts.conf (see Sentora Docs: Important Paths) and edit the following line (only the last line matters, the rest is just for reference):
PHP Code:
<virtualhost *:80>
ServerName yourdomain.com
ServerAlias  www
.yourdomain.com
ServerAdmin admin
@yourdomain.com
DocumentRoot 
"/var/sentora/hostdata/user_account/public_html/yourdomain_com"
php_admin_value open_basedir "/var/sentora/hostdata/yourdomain/public_html/yourdomain_com:/var/sentora/temp/"

# EDIT THE LINE BELOW #
php_admin_value suhosin.executor.func.blacklist "passthru, show_source, shell_exec, system, pcntl_exec, popen, pclose, proc_open, proc_nice, proc_terminate, proc_get_status, proc_close, leak, apache_child_terminate, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid, escapeshellcmd, escapeshellarg, exec" 
You should remove popen from that list (blacklist of disabled functions).
Keep in mind that those functions are disabled for a reason and should only be enabled on controlled environments.
Hope this has helped you.
My Sentora Resources
[Module] Mail Quota Count | Vagrant Box with Sentora

[Image: vanguardly-logo-micro.png]
Graphic and Web Design. Development.
www.vanguardly.com


Reply
Thanks given by: elftidus


Messages In This Thread
Open Base Temp Directory errors - by elftidus - 05-26-2015, 06:37 AM
RE: Open Base Temp Directory errors - by apinto - 05-26-2015, 07:38 AM
RE: Open Base Temp Directory errors - by elftidus - 05-27-2015, 07:11 AM
RE: Open Base Temp Directory errors - by TGates - 05-27-2015, 12:53 PM
RE: Open Base Temp Directory errors - by apinto - 05-27-2015, 07:32 AM
RE: Open Base Temp Directory errors - by Ayog - 06-06-2016, 07:21 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
How to give the cliens file manager access to their respective domain directory vsvinit0 4 9 ,322 10-09-2019, 10:05 PM
Last Post: vsvinit0
Sentora open_basedir - how to set for specific directory sathish2009 6 15 ,834 05-02-2019, 07:35 AM
Last Post: TGates
Wordpress "Temp Folder Missing" Issue NickNeverSleeps 5 12 ,691 12-13-2018, 09:20 PM
Last Post: ngeluis@gmail.com

Forum Jump:


Users browsing this thread: 1 Guest(s)