HOW-TO tweak you php.ini on GoDaddy.com

I keep forgetting about this so I will make a post and hope I don't forget anymore.

I had a new client who wanted to host with GoDaddy.com

I tried to tweak the php.ini settings but it wasn't working. After banging my head against the desk for a couple of minutes I recalled that what they call root folder is actually that html folder on your root.

So if your account name is boombastic your php.ini file should be located at /home/content/b/o/o/boombastic/html/php5.ini

php.ini and php5.ini will both work, but if you're using php5 you should specify php5.ini

Now if you're wondering what kind of things you can put in there, here is what I usually put in it:

;register_globals = off
;allow_url_fopen = off

memory_limit = 512M
post_max_size = 190M
file_uploads = On
upload_max_filesize = 190M

;expose_php = Off
max_input_time = 120
;variables_order = "EGPCS"
;extension_dir = ./
;upload_tmp_dir = /tmp
;precision = 12
SMTP = relay-hosting.secureserver.net
;url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="

; Only uncomment zend optimizer lines if your application requires Zend Optimizer support

;[Zend]
;zend_optimizer.optimization_level=15
;zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.3
;zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.3
;zend_extension=/usr/local/Zend/lib/Optimizer-3.3.3/ZendExtensionManager.so
;zend_extension_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.3/ZendExtensionManager_TS.so

; -- Be very careful to not to disable a function which might be needed!
; -- Uncomment the following lines to increase the security of your PHP site.

;disable_functions = "highlight_file,ini_alter,ini_restore,openlog,passthru,
              phpinfo, exec, system, dl, fsockopen, set_time_limit,
              popen, proc_open, proc_nice,shell_exec,show_source,symlink"
[browscap]
browscap = /home/content/b/o/o/boombastic/extra/php_browscap.ini
GoDaddyphp.ini