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

Rob Montero

Rob Montero, Drupal Association Individual Member

Roberto Montero Ortiz is an individual member of the Drupal Association, which fosters and supports the Drupal software project, the community and its growth. He also has an active role in the Drupal Community in Costa Rica and regularly contributes to Drupal Camps held in Latin America.

Rob Montero, Acquia Certified Developer 2014   Rob Montero, Certified Developer Back End Specialist 2015Rob Montero, Acquia Certified Developer Front End Specialist

Rob is also an Acquia Certified Developer, awarded with the Grand Masters title after completing his third certification within a year. 

Zend also certifies Rob's knowledge of PHP OOP skills, but at this point this block is getting a bit presumptious. Suffice it to say, Rob is competitive and competent. He's also a nice guy all around.

Drupal Latin America

Rob Montero is a proud sponsor and mentor of young Drupal talent of the Costa Rican Drupal Users Group and entrepreneur at Drupal Latin America

CHECK THEM OUT

Get in touch

  • Rob Montero
    Ave Popocatepetl 435 B 504
    Sta Cruz Atoyac, Benito Juarez
    Ciudad de México, 03310 
  • (858) 952 0762
  • roberto@montero-ortiz.com
Signup to our newsletter: