Can't seem to change my UPLOAD LIMIT

Can't seem to change my UPLOAD LIMIT

Posted by: xtwister161
Posted on: 2006-12-26 17:45:00

I have been trying to increase my upload limit, which seems to be at 100kb by default, to around 10mb.

I went through the instructions on this page....
http://wiki.dreamhost.com/index.php/PHP.ini
but it doesnt seem to work. when i do the ./php-update.sh the php.ini and php.cgi DO show up in the cgi-bin folder and the php.ini does have my new limit in there, but the limit does not increase. I tried everything from 4mb to 800mb!
Although, i never did the "crontab -e" command, but shouldn't it be without that anyway?

Re: Can't seem to change my UPLOAD LIMIT

Posted by: Raz2133
Posted on: 2006-12-26 17:51:00

In reply to:

but shouldn't it be without that anyway?


Yes, the crontab entry is merely to make sure your local PHP install stays up-to-date.

Did you make the required changes to your .htaccess file? The local install will not be used if you do not do this. The following lines need to be added to your .htaccess file (or the file created if you don't already have one).

Options ExecCGI
AddHandler php-cgi .php
Action php-cgi /cgi-bin/php.cgi


Mark

Re: Can't seem to change my UPLOAD LIMIT

Posted by: xtwister161
Posted on: 2006-12-26 18:26:00

Yes, i did create the .htaccess, but it doesnt work.
Help!!!

Re: Can't seem to change my UPLOAD LIMIT

Posted by: rlparker
Posted on: 2006-12-26 18:29:00

have you run phpinfo() under the new set-up? This will print out the actual settings that are in use, and help us know whether your custom php.ini is actually being loaded.

--rlparker

Re: Can't seem to change my UPLOAD LIMIT

Posted by: xtwister161
Posted on: 2006-12-26 18:37:00

I got it, yeyyyyyyyyyyyyyyyyyyy.
It was my form! MAX_FILE_SIZE was set to 100000. I didnt realize that 100000 was 100kb when i was putting the code in.
Thanx for everyone's help!!!Edited by xtwister161 on 12/26/06 06:49 PM (server time).

Re: Can't seem to change my UPLOAD LIMIT

Posted by: wholly
Posted on: 2006-12-26 21:10:00

Note: unless you've installed your own php, you may be limited to 7m...

Wholly

Tags: dreamhostbin folderphp cgicrontabcgi binwikish