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.

Change php root for users
#1
Change php root for users
Hi all,
I have two questions.
1- When i use this php code :
dirname(__FILE__);
This shows root path to the users !
How i can config php to only show root of their acc and also looks there for loading their files.

2- Sentora core used 700 MiB of my vps ram is it normal ? is it possible to decrease this ?

Thanks.
Reply
Thanks given by:
#2
RE: Change php root for users
1. What's the issue here ? The users can't access any files outside of their account, you can try and see. Openbasedir is jailing it so?

2. Ram use depend on your server load. You can remove some modules from apache and check MySQL load. You can disable dovecot or bind if you don't use IMAP & DNS server.

M B
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask
Freelance AWS Certified Architect & SysOps// DevOps

10$ free to start your VPS
Reply
Thanks given by: wpmagic


Possibly Related Threads…
Thread Author Replies Views Last Post
change username from email umarzuki@gmail.com 0 1 ,287 11-25-2022, 05:46 PM
Last Post: umarzuki@gmail.com
Database - Change localhost to %localhost% JSmith 1 4 ,524 09-11-2019, 09:19 AM
Last Post: TGates
Change default language diogorocha18 7 15 ,934 11-16-2018, 12:33 AM
Last Post: nibaldo

Forum Jump:


Users browsing this thread: 1 Guest(s)