how to increase memory in php my admin ?

nice1

Power Member
Joined
Aug 11, 2009
Messages
613
Reaction score
213
Hi how do you increase the memory upload limit in either easy php and or php my admin ?


i cant find teh file uploads folder ?


cheers
 
Depending on your host you can do this in the php script itself with the following 2 (need both to work)

ini_set('max_upload_filesize', 32MB);
ini_set('max_post_size', 32MB);

That would make max upload size 32MB and post size, both are needed. Depending on you might hang up the server if it's a shared host.
 
In easyphp on Windows you can find it here:

Code:
C:\.....\easyphp\apache\php.ini
C:\.....\easyphp\conf_file\php.ini

On Linux server : /etc/php?????

For example in debian :
Code:
/etc/php4/apache/php.ini

php4 folder can be php or php5

You can also find a local one here :

Code:
usr/local/lib/[I]php[/I].[I]ini[/I]

Cheers.
 
Increase:
upload_max_filesize
memory_limit
post_max_size

in etc/php.ini , or your php conf admin panel(WHM, kloxo, ...)

also use .sql.gz instead of .sql

and lastly, if its huge DB, you can use BigDump script

hope it helps :)
 
In easyphp on Windows you can find it here:

Code:
C:\.....\easyphp\apache\php.ini
C:\.....\easyphp\conf_file\php.ini

On Linux server : /etc/php?????

For example in debian :
Code:
/etc/php4/apache/php.ini

php4 folder can be php or php5

You can also find a local one here :

Code:
usr/local/lib/[I]php[/I].[I]ini[/I]

Cheers.

Increase:
upload_max_filesize
memory_limit
post_max_size

in etc/php.ini , or your php conf admin panel(WHM, kloxo, ...)

also use .sql.gz instead of .sql

and lastly, if its huge DB, you can use BigDump script

hope it helps :)

thnaks everyone i did find it - you can get to it in configuration
 
Back
Top