PHP Size Limit.... php.ini

Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
Namecheap AuctionsNamecheap Auctions
Watch

awal

Established Member
Impact
41
Hello

I need help with php.ini .
in my friend website he cant upload more than 2 mb , what he need to change php.ini http://help.securepaynet.net/article.php?article_id=1475&prog_id=419975
By default, PHP limits uploaded files to 2 MB. To change this value, edit the following values in your /php.ini file:
PHP:
memory_limit = 50M
post_max_size = 8M
file_uploads = On
upload_max_filesize = 8M

The above settings will allow you to upload files up to 8mb in size (you can increase the values beyond this point).

in the webstie php.ini is not same :
PHP:
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="

[Zend]
zend_extension=/usr/local/zo/ZendExtensionManager.so
zend_extension=/usr/local/zo/4_3/ZendOptimizer.so
rg_emulation=off

please can any one help with that to change php.ini to allow to upload files up to 8mb in size.

Thank you
 
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
Search for the line upload_max_filesize in your php.ini file and change the value to 8. Restart apache and have a check.
 
1
Close
iHubNet-Matt said:
Search for the line upload_max_filesize in your php.ini file and change the value to 8. Restart apache and have a check.

There is no line like this upload_max_filesize

only this

PHP:
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="

[Zend]
zend_extension=/usr/local/zo/ZendExtensionManager.so
zend_extension=/usr/local/zo/4_3/ZendOptimizer.so
rg_emulation=off
 
0
Close
You can either add the line or check if other .ini files are present.
Sometimes there is a separate .ini file for each of the PHP extensions installed.
 
1
Close
yes,

Just add the following line and restart apache

upload_max_filesize = 8M
 
0
Close
sdsinc said:
You can either add the line or check if other .ini files are present.
Sometimes there is a separate .ini file for each of the PHP extensions installed.
iHubNet-Matt said:
yes,

Just add the following line and restart apache

upload_max_filesize = 8M

Thank you
 
0
Close
awal said:
Thank you

Are you using a dedicated server? You gave a link to securepayment which is Godaddy, and you can't restart apache since it's a shared environment. I don't even know if they allow extra modules since it's a shared php.ini with unshared modules.
 
0
Close
0
Close
Hope you got it working
 
0
Close
DomainEasy: flexible LTO options. Close more domain deals with financing.

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Switch between accounts
You can now stay logged in to more than one NamePros account in the same browser. Click your avatar, then "Accounts in this browser", to...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back