Help - Search - Members - Calendar
Full Version: php upload issue
The Planet Forums > Control Panels > Plesk
MajorTomm
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
add the following in /etc/httpd/conf.d/php.conf (increases to 16M upload)


SetOutputFilter PHP
SetInputFilter PHP
LimitRequestBody 16384000
RexAdmin
You should also change /etc/php.ini file, the file is self-explained with comments.

Good luck.
MajorTomm
Thanks for the tips! icon_biggrin.gif

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 icon_wink.gif gotta love windows
RexAdmin
There are numerouse SSH clients for Pocket PC.
MajorTomm
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
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.
Invision Power Board © 2001-2009 Invision Power Services, Inc.