Re: [PHP-DEV] PHP Memory Error

2002-11-27 Thread .: B i g D o g :.
in your php.ini file you have allocated only 8mb for use... this is probably not 
sufficient for your scripts to use...

remember that this size is in bytes...

you might want something like this...

67108860 bytes = 64 mb



"Jonathan Williams" <[EMAIL PROTECTED]> wrote in message 
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Could someone please help.  Running Linux 7.3 RH with 512 MB Ram with Apache
> and PHP 4.  I receive the following error and was wondering if anyone had
> any suggestions.  The error: Fatal error: Allowed memory size of 8388608
> bytes exhausted (tried to allocate 35 bytes) in
> /var/www/html/vc/test_fort/bootstrap.php on line 267.  Is there a server
> setting eliminating the ability to allocate more memory.  Any suggestions
> would be helpful.  You can reply to [EMAIL PROTECTED] as well.
> 
> 
> 
> 
> 
> 
> -- 
> PHP Development Mailing List 
> To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] short_open_tag

2002-10-16 Thread .: B i g D o g :.

IMHO, i think that short tags should be taken out of php and just use
the  Ilia A. wrote:
> > Since the general consensus by the developers is not to remove the
short_tags 
> > or even disable them. Perhaps we should consider alternate solutions
to this 
> > problem. Given the buzzword popularity of XML and its slowly growing
> > popularity among website designers (XHTML) this issue is likely to
come up in 
> > the future yet again.
> > The solution I would like to offer, is a patch that adds special
handling for 
> >  > inside  
> I think it's reasonable patch, but " tag...
> 
> We never know how many processing tags will be in the future.
> We don't know if there will be xml processor that processes php
> tag or not.
> 
> Therefore, user should turn short tag off by themselves
> if the want to use XML, or echo "" at the beginning
> of output.
> 
> IMO, disabling short tag in php.ini-recommended is ok in the
> future. I know Zeev don't like it and I understand the reasoning. :)
> 
> Isn't BIG caution for short_open_tag=Off while having
short_open_tag=On
> enough for now? Something like;
> 
> ==
> ;If you are willing to process XML file with PHP, you should
> ;turn short tag off or echo XML processing tag, " ;needed. Turning off this directive and use of " ;recommended with XML documents.
> ;
> ;!!CAUTION!! If you have a script start with short tag and
"short_open_tag=Off",
> ; " ;php.ini-recommended will have short_open_tag=Off by default! Use of
short
> ;open tag is discouraged.
> ;
> ;NOTE: Authors writing portable scripts should check this ini setting.
> ;or echo " 
> short_open_tag=On
> 
> ==
> 
> --
> Yasuo Ohgaki
> 
> 
> -- 
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, visit: http://www.php.net/unsub.php

-- 
S RAY HUNTER
email:  [EMAIL PROTECTED]
email:  [EMAIL PROTECTED]
www:http://venticon.com

-- 
.: B i g D o g :.



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] File Descriptors

2002-07-02 Thread B i g D o g

Does PHP only use file descriptors when opening files or does it use it for
other things that are underlining?

B i g D o g



"Thies C. Arntzen" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Tue, Jul 02, 2002 at 01:04:03PM -0600, B i g D o g wrote:
> > I have searched the archives and all over google and php.net; however, i
can
> > not find an answer to this question:
> >
> > When running a php script that opens a file descriptor (implicit and
not)
> > does the file descriptor get closed automatically when the script
> > terminates?
>
> if you use php functions like fopen() - yes. (unless you
> found a bug).
>
> tc



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DEV] File Descriptors

2002-07-02 Thread B i g D o g

I have searched the archives and all over google and php.net; however, i can
not find an answer to this question:

When running a php script that opens a file descriptor (implicit and not)
does the file descriptor get closed automatically when the script
terminates?

Thanks,

B i g D o g








-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php