How to create custom php.ini file in CPanel?
In this post we will give you information about How to create custom php.ini file in CPanel?. Hear we will give you detail about How to create custom php.ini file in CPanel?And how to use it also give you demo for it if it is necessary.
We can create our own php.ini file in godaddy cpanel and other hosting too. We can increase upload_max_filesize, post_max_size, max_file_uploads, memory_limit, max_execution_time etc in php ini file in cpanel.
So basically, Almost server like godaddy server, a2hosting server, hosting raja server that provide basic configuration in default php ini file. so some time we need to increase it with maximum upload file size, memory limit etc. every server have different way to creating custom php ini file creation. i will give two example that will help you.
How to revoke 'git add' before 'git commit' ?
In this post we will give you information about How to revoke 'git add' before 'git commit' ?. Hear we will give you detail about How to revoke 'git add' before 'git commit' ?And how to use it also give you demo for it if it is necessary.
Sometimes you need to undo your git file before you git comment command. Because you made a some misteck or wrong code and you did git add using "git add ." command then you think how to undo your code before git commit command. But you can do that using git reset command, if you need to undo all file Or you may need to undo just one then you can do using git reset command, you can see bellow command.
Example:
// For Spesific filegit reset
// For all files
git reset
Hope this code and post will helped you for implement How to revoke 'git add' before 'git commit' ?. if you need any help or any feedback give it in comment section or you have good idea about this post you can give it comment section. Your comment will help us for help you more and improve us. we will give you this type of more interesting post in featured also so, For more interesting post and code Keep reading our blogs
In this post, i will show you how it easy to create custom php.ini file with change default value of php ini file.
I checked on my GoDaddy Project.
I created .user.ini file with following changes. You need to put on your root directory so it effect only that project:
Path: public_html/mypro.com/index.php
Create File Path: public_html/mypro.com/.user.ini
memory_limit = 148M
max_input_vars = 4000
upload_max_filesize = 120M
post_max_size = 120M
max_execution_time = 250
If above solution not work then you can also try this one:
Create File Path: public_html/mypro.com/php.ini
memory_limit = 148M
max_input_vars = 4000
upload_max_filesize = 120M
post_max_size = 120M
max_execution_time = 250
Then last you can check with this:
<?php phpinfo(); ?>
I hope it can help you…
Hope this code and post will helped you for implement How to create custom php.ini file in CPanel?. if you need any help or any feedback give it in comment section or you have good idea about this post you can give it comment section. Your comment will help us for help you more and improve us. we will give you this type of more interesting post in featured also so, For more interesting post and code Keep reading our blogs