Re: Can not input large text data -- problem solved --Thank you! - Mailing list pgsql-general

From qk22@gmx.co.uk
Subject Re: Can not input large text data -- problem solved --Thank you!
Date
Msg-id 3BD81CB3.9020807@gmx.co.uk
Whole thread Raw
In response to Re: Can not input large text data  ("Aasmund Midttun Godal" <postgresql@envisity.com>)
List pgsql-general

Johnny Jørgensen wrote:

>That sounds very much like the POST maximum file size, set in php.ini. try phpinfo(), and see what your size is, the
defaultis somewhere pretty near 7MB 
>
>*********** REPLY SEPARATOR  ***********
>
>On 24-10-2001 at 07:23 qk22@gmx.co.uk wrote:
>
>>postgresql@envisity.com ("Aasmund Midttun Godal") wrote in message
>>news:<20011024001923.22212.qmail@ns.krot.org>...
>>
>>>Maybe this is a problem - take a look at your watch. See how long time
>>>
>>it takes. then check out httpd.conf look for timeout (probably 300 secs).
>>
>>>Reagards,
>>>
>>>Aasmund
>>>
>>>On 20 Oct 2001 11:25:19 -0700, qk22@gmx.co.uk (qk22) wrote:
>>>
>>>>tgl@sss.pgh.pa.us (Tom Lane) wrote in message
>>>>
>>news:<25124.1003431283@sss.pgh.pa.us>...
>>
>>>>I am using phpPgAdmin2.3--(apache+php+pgsql) as the form interface to
>>>>input data within Netscape Navigator, in fact the text fields can
>>>>input data very well exceed the 8k and 32k limits. The problem is that
>>>>you still can not input data with fairly large size such as 7MB or
>>>>above, and I don't know if there is anything wrong with the database.
>>>>
>>>>---------------------------(end of
>>>>
>>broadcast)---------------------------
>>
>>>>TIP 5: Have you checked our extensive FAQ?
>>>>
>>>>http://www.postgresql.org/users-lounge/docs/faq.html
>>>>
>>>Aasmund Midttun Godal
>>>
>>>aasmund@godal.com - http://www.godal.com/
>>>+47 40 45 20 46
>>>
>>>---------------------------(end of broadcast)---------------------------
>>>TIP 3: if posting/reading through Usenet, please send an appropriate
>>>subscribe-nomail command to majordomo@postgresql.org so that your
>>>message can get through to the mailing list cleanly
>>>
>>I checked httpd.conf and found the "timeout" setting is 300, I tried
>>again and the error message in netscape appears immediately as
>>following:
>>______________________________________
>>A network error occurred while netscape
>>was sending data.
>>(Network Error: Connection reset by peer)
>>
>>Try connection again
>>______________________________________
>>I want to know if there are some configuration changes that can be
>>made in order to enable the input of large text data though web
>>server.
>>
>>Thank you
>>
>>qk22
>>
>>---------------------------(end of broadcast)---------------------------
>>TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
>>
>
>
>Mvh,
>
>Johnny Jørgensen
>
>johnny@halfahead.dk
>+45 6315 7328
>
>
You are right! I checked and realized the line "post_max_size 8M " in
"phpinfo.php" test page, so I changed the "post_max_size" to 800M in
"php.ini" and "Timeout" value to 3000 in httpd.conf. Then everything is
ok now. So that was the Apache and PHP configuration problem.
Thank you for all.

Best regards

qk22



pgsql-general by date:

Previous
From: "Markus Meyer"
Date:
Subject: Re: Using PostgreSQL and Access?
Next
From: Uros Gruber
Date:
Subject: ARRAY type and PHP