MajorTomm
Sep 1 2004, 10:22 PM
I have been trying to find an answer to this problem on mulitple lists but I am unable to:confused: :confused: . I cannot upload a file to the server via a php script if it is larger than about 1.5 megs. I have found a few references to modifiying the php.ini file which I have done and then restarted apache (changed max upload size max post memory limit and execution time). I have also found references to modifing the php.conf file and the content length but my php.conf file is only 3 lines long and reference nothing to do with file sizes.
I would appreciate any and all help!
Server Specs:
RedHat 9
Apache/2.0.40 (Red Hat Linux)
Plesk 7.0.2
Thanks again in advanced......
polystigma
Sep 2 2004, 05:33 AM
add the following in /etc/httpd/conf.d/php.conf (increases to 16M upload)
SetOutputFilter PHP
SetInputFilter PHP
LimitRequestBody 16384000
RexAdmin
Sep 2 2004, 11:12 AM
You should also change /etc/php.ini file, the file is self-explained with comments.
Good luck.
MajorTomm
Sep 2 2004, 11:56 AM
Thanks for the tips!
I will give this a try when I get back into the office... if I could only get my SSH client to work on my PocketPC I could try it now

gotta love windows
RexAdmin
Sep 2 2004, 12:54 PM
There are numerouse SSH clients for Pocket PC.
MajorTomm
Sep 2 2004, 02:22 PM
I had one on my Toshiba Pocket PC with WiFi but someone decided they liked it and snagged it from me. Now if I have a Samsung i700 and I havent havent had a chance to load a new SSH client. Do you have any recomendations?
Onleeson
Sep 27 2005, 12:59 PM
I don't know anything about PHP except how to spell it. I was given code from EV1 support to increase the email upload capacity of Squirrelmail but i have NO CLUE of even where to begin; can someone please help. :confused:
Here is the message i got from EV1 support:
The attachment size limit is not a function of Squirrelmail, but php and apache. To increase the size limit, two files must be edited.
/etc/php.ini
In php.ini, change upload_max_filesize to 15M
and
/etc/httpd/conf.d/php.conf
Restart apache after changes.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.