Knowledge Base Hub

Browse through our helpful how-to guides to get the fastest solutions to your technical issues.

Home  >  Dedicated Server FAQ  >  Steps to Change the Default Unmask for Apache/PHP
Top Scroll

Steps to Change the Default Unmask for Apache/PHP

 1 min

The Apache/PHP umask finds the permission of newly created files on the server. Root access is needed to change the umask, which is only available on Dedicated hosting plans without Geeky features and a Performance Booster.

For changing the umask, open the following file:


Inside it, add the below line:

umask 022

With this the default permissions to 022 will be set. Restart the Apache service on the server, for the change to take effect.

Also Read:
Learn to Restart Apache on Dedicated Server

For our Knowledge Base visitors only
Get 10% OFF on Hosting
Special Offer!
Claim the discount before it’s too late. Use the coupon code:
Note: Copy the coupon code and apply it on checkout.