Categories
Abuse and Security
4
Advanced Users
11
Cloud Hosting Basic Questions
4
CloudFlare
6
cPanel
13
Domain Names
11
Email
12
FFmpeg
1
Free Website Transfer
2
Free Website Transfer
1
FTP Basics
2
ID Protection / Domain Privacy
3
MySQL Basics
4
Name Servers (DNS)
1
PHP
1
Pre Sales Questions
12
Reseller Hosting
7
Sales & Billing
13
Shared Hosting
9
Softaculous
1
SSH
3
SSL Certificates
3
Troubleshooting
8
VPS and Dedicated Servers
4
Website Transfer Service
1
WordPress
1
Categories
How do I create a custom php.ini file? Print
- 33
A custom php.ini file can be constructed and placed in your web account. For instance, using a text editor such as Notepad, you can create a php.ini file with the following custom setting which would override our default server setting:
file_uploads=off
The php.ini file should only contain the custom settings - each on it's own line (such as the above example). When completed, save the file and upload it to an area (folder) on your web account where the rest of your php files are located.
NOTE: The php.ini file should be uploaded into every folder and/or subfolder where the settings need to take place. Be sure to rename your php.txt file to php.ini before you upload it to your server.
Was this answer helpful?
Related Articles
How to change the date.timezone value in PHP?
If your PHP scripts do not show the correct time, the reason is that most probably your hosting...
Cron jobs
A 'cron job' is an automated task that can be set up within your cPanel. This will typically be...
Disabling catch-all email
If you wish to disable the default catch-all email address - i.e. you will only receive email to...
File permissions
There are a number of file permissions, which can be used for a variety of different purposes,...
How to connect using SSH (secure shell)
How to connect using SSH:
You are going to need an SSH Client. We recommend a program "PuTTY"....
Loading...
Loading...