[PHP] Re: [ERR] Re: [PHP] php crash and memory_limit

2004-03-17 Thread kringla
No, none at all. Not even any sugestions from anyone what to do.
I am stuck.
[EMAIL PROTECTED] wrote:
Transmit Report:

 To: [EMAIL PROTECTED], 2004/03/18 03:17:48, 999, »ó´ë¹æ ¼ö½Å¼­¹ö Á¢¼Ó½Ã°£ ÃÊ°ú



Subject:
Re: [PHP] php crash and memory_limit
From:
kringla [EMAIL PROTECTED]
Date:
Tue, 02 Mar 2004 00:47:24 +0100
To:
[EMAIL PROTECTED]
No solution?

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] php crash and memory_limit

2004-03-01 Thread kringla
No solution?

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] php crash and memory_limit

2004-02-29 Thread kringla
Is there any solution to this problem?
I can see that this problem happens when the memory is exhausted.
How do I make a correct .htaccess file so set these values:
php_value memory_limit 34M
php_value post_max_size 33M
php_value upload_max_filesize 32M
php_value max_execution_time 600
Why does PHP lock-up like this?
I am not able to do so much testing on our 'live' site since that might 
cause trouble for our visitors.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] php crash and memory_limit

2004-02-28 Thread kringla
Hi
I'm having a problem with file uploads and freezings of the php-module 
in apache. Yes I have googled and RTFM:ed but I don't get any good 
results out from what I have tested so far.

I have set MAX_FILE_SIZE as a hidden value in the form, the value is set 
to 40
I increased 'memory_limit' from 8M to 200M in my home server and it all 
worked, when I then tested the same thing on the web-hotel I got 
'Internal server error 500' and I was unable to access files in the same 
directory as the problematic page was in.  I did it with ini_set( in 
the page.

Since my web-hotel won't change any settings I have to either configure 
with ini_set or the .htaccess file.
I set LimitRequestBody to 16M in a .htaccess file since many have 
suggested that this would solve the problem. But not.

I think these variables can be set in .htaccess but I don't get the 
correct syntax in the file, i'm just getting 'internal server error' all 
the time.

php_value memory_limit 34M
php_value post_max_size 33M
php_value upload_max_filesize 32M
php_value max_execution_time 600
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] php crash and memory_limit

2004-02-28 Thread Rasmus Lerdorf
Which web server and version?

On Sat, 28 Feb 2004, kringla wrote:

 Hi
 I'm having a problem with file uploads and freezings of the php-module
 in apache. Yes I have googled and RTFM:ed but I don't get any good
 results out from what I have tested so far.

 I have set MAX_FILE_SIZE as a hidden value in the form, the value is set
 to 40
 I increased 'memory_limit' from 8M to 200M in my home server and it all
 worked, when I then tested the same thing on the web-hotel I got
 'Internal server error 500' and I was unable to access files in the same
 directory as the problematic page was in.  I did it with ini_set( in
 the page.

 Since my web-hotel won't change any settings I have to either configure
 with ini_set or the .htaccess file.
 I set LimitRequestBody to 16M in a .htaccess file since many have
 suggested that this would solve the problem. But not.

 I think these variables can be set in .htaccess but I don't get the
 correct syntax in the file, i'm just getting 'internal server error' all
 the time.

 php_value memory_limit 34M
 php_value post_max_size 33M
 php_value upload_max_filesize 32M
 php_value max_execution_time 600

 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] php crash and memory_limit

2004-02-28 Thread kringla
Rasmus Lerdorf wrote:

Which web server and version?

 

php: 4.3.4
apache 1.3.27
Linux x 2.4.20aa1 #2 SMP Fri Mar 7 15:07:36 CET 2003 i686
Server API CGI/FastCGI
max_execution_time 120
max_input_time -1
'./configure' '--enable-force-cgi-redirect' 
'--enable-inline-optimization' '--with-bz2' '--with-db3' '--with-gd' 
'--with-png' '--enable-bcmath' '--enable-safe-mode' 
'--enable-track-vars' '--with-pear=/usr/share/pear' 
'--with-mysql=shared' '--enable-memory-limit' '--enable-bcmath' 
'--enable-dbx' '--with-zlib' '--enable-fastcgi' '--with-jpeg-dir' 
'--with-png-dir' '--enable-gd-native-ttf' '--with-gettext' 
'--enable-discard-path' '--with-freetype-dir'

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php