OT: RH9 + apache + php + upload via http

Alexander Dalloz alexander.dalloz at uni-bielefeld.de
Sun Aug 22 23:07:45 UTC 2004


Am Mo, den 23.08.2004 schrieb Mike Ramirez um 0:49:

> I know this isn't the RH9 list but I haven't joined it.  The question
> isn't really rh9 related either.  more or less this is the situation.  I
> have a server running apache 1.3,  php 4.3.8 and CPanel/WHM.  Now the
> problem is that I can't upload any files to via http in a php script. 
> For example in OSCommerce I can't upload any images to go with the
> descriptions or using CPanels file manager to upload any files.

> Mike Ramirez

On RH9 by default in /etc/httpd/conf.d/php.conf the size of uploadable
files is strong restricted.

<Files *.php>
    SetOutputFilter PHP
    SetInputFilter PHP
    LimitRequestBody 524288
</Files>

This is bytes. So increase the value to something reasonable for your
application.

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
Fedora GNU/Linux Core 2 (Tettnang) kernel 2.6.8-1.521smp 
Serendipity 01:05:25 up 2 days, 20:48, load average: 0.12, 0.33, 0.34 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20040823/ce034e4a/attachment-0001.sig>


More information about the fedora-list mailing list