On shared hosts, overriding the php.ini file can be frustrating. Sometimes it works, sometimes it doesn’t. It’s up to the host provider. This post will keep a record of what hosts need what type of requirements and will be updated from time to time. This overriding php.ini file can be a partial override like so:
[PHP]
; Maximum size of POST data that PHP will accept.
post_max_size = 20M
; Maximum allowed size for uploaded files.
upload_max_filesize = 20M
GoDaddy
The php.ini file needs to be named php5.ini if you are using PHP version 5.x. Sometimes you’ll need to restart the web process in the control panel. It is located under the “System Processes” icon. Once in System Processes click on “End Web”.