How to set open_basedir to none?

General discussions around KeyHelp.
Post Reply
akong77
KeyHelp Translator
Posts: 44
Joined: Mon 2. Aug 2021, 07:39

How to set open_basedir to none?

Post by akong77 »

I install prestashop via application.And I also install prestashop theme to my prestashop.
I found a theme bug and call theme design help fix it.He say
Kindly please contact the hosting provider for the same error or ask thme to modify the open_basedir settings in your hosting and set them to none.
I see my keyhelp open_basedir settings is
##DOCROOT##/www:##DOCROOT##/files:##DOCROOT##/tmp
How to set open_basedir to none and could affect another website?
User avatar
Alexander
Keyweb AG
Posts: 3842
Joined: Wed 20. Jan 2016, 02:23

Re: How to set open_basedir to none?

Post by Alexander »

You may want to familiarize yourself, what open_basedir is and how it can affect you and your server security:

https://www.php.net/manual/en/ini.core. ... en-basedir

tl;dr Setting this to none will allow the corresponding client (or applications running by that client) to access any file an the file system.
Of course, the normal OS file privilege system remains enabled. So if a file belongs to "root" and it has file privileges of "0600" - the client of course can not open this file.
Kindly please contact the hosting provider for the same error or ask thme to modify the open_basedir settings in your hosting and set them to none.
Be aware, that this is message by the support is, from a security standpoint, a disaster...

My advise:
1) Get to know, what directories are needed to be accessed by the application
2) Add only these directories to the open_basedir
Mit freundlichen Grüßen / Best regards
Alexander Mahr

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
akong77
KeyHelp Translator
Posts: 44
Joined: Mon 2. Aug 2021, 07:39

Re: How to set open_basedir to none?

Post by akong77 »

OK, I will respond to theme design.Thanks a lot.
Post Reply