Images are not loaded at hostgator

  1. Add a php.ini file with the following content in the folder of your hosting home4/user name) this is the main directory.

file_uploads = On
post_max_size = 128 m
upload_max_filesize = 128 m
memory_limit = 256 m
set_time_limit (300)
max_input_var = 4720

2. Edit .htaccess
Add the following code:
<IfModule mod_suphp.c=""></IfModule>
<Files php.ini=""></Files>
order allow, deny
Deny from all

More info here:

Leave a Reply

Your email address will not be published. Required fields are marked *