WordPress Tricks

Godaddy php5.ini memory limit : Increase your wordpress sites maximum media uploading capacity to 64MB

Godaddy wordpress maximum file upload limit memory increase
 

Few days ago, one of my client, who is using Godaddy’s hosting, asked me to increase the memory limit(to upload media files) of his wordpress site.  I found that the maximum uploading capacity of his wordpress is only 2MB. Here i am sharing you how to modify the php5.ini file of your Godaddy’s hosting, which will help your wordpress site to increase Maximum file upload capacity.

*** You will get php5.ini file in the root directory of your hosting (use your ftp info to log to your hosting).

Here is the lines I have added at the begining of the php5.ini file .

memory_limit = 64M
post_max_size = 64M
file_uploads = On
upload_max_filesize = 64M

 

Full php5.ini (after my edition)

 
memory_limit = 64M
post_max_size = 64M
file_uploads = On
upload_max_filesize = 64M
[Zend]
zend_extension=/home/content/30/7789030/html/ioncube/ioncube_loader_lin_5.2.so

register_globals = off
allow_url_fopen = off

expose_php = Off
max_input_time = 60
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"

3 thoughts on “Godaddy php5.ini memory limit : Increase your wordpress sites maximum media uploading capacity to 64MB”

  1. I have tried so many differnt variations on this theme and was close to giving up and settling to FTP all large files directly on GO Daddy when I tried your solution and was amazed that it actually worked! Thank you somuch!

    Sandy

    Like

Leave a comment