Re: OT: RH9 + apache + php + upload via http

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux