Knowledge Base
Know what you're looking for? Use the search feature to quickly find answers to your questions.

Home > Tutorials > Web Hosting Tutorials > cPanel Tutorial > How to create custom php.ini per folder

How to create custom php.ini per folder

In this article you will see how to create custom php.ini per folder with our special tool

1. Log in to your cPanel, navigate to the Find bar and type "php" in order to find the PHP Variables Manager.
1.1 Click on the PHP Variables Manager button



2. You will be navigated to a menu, where you can choose for which folder to create custom php.ini



3. Lets take folder "videos" and make changes in the PHP configuration. Before make any changes, check with simple php info test the exact value of the variables that you want to change. In our case, we choose to change the "memory_limit" variable.
If you want to see how to create PHP info page, please refer to the following tutorial :
How to create PHP info page




4. Go back to the menu, choose "video" folder and change to the needed value. After that click on the Save button and perform again the simple test to check if everything is changed properly.





If you want to see the above steps on a HD video, please review the video below from our official YouTube Channel :

Was this answer helpful?

Also Read
How to monitor my cPanel Resource usage (Views: 47)
NextPointHost's top quality shared hosting environment allows multiple websites to utilize a...
How to setup your cPanel/WHM server and make your website to work (Views: 1097)
In this article you will see how to setup your cPanel/WHM server and make your website to work.If...
How to create PHP info file (Views: 1290)
In this article you will see how to create a simple php info file, in order to check your PHP...
How to change your PHP version per folder (Views: 3100)
In this article you will see how to change your PHP version per folder with our special tool1....