[PHP] Increasing maximum file descriptors (OS X Lion 10.7, PHP 5.3.8 via Macports)

2011-11-07 Thread René Fournier
I have a working socket server in PHP that I wish to improve (allow for more socket connections). I am running into a limit I can't crack, related to the max number of incoming socket connections. Using Macports for package management... I've recompiled PHP with the --enable-fd-setsize=2048 in t

Re: [PHP] session_start(), memcache taking too much resources

2011-11-07 Thread Stuart Dallas
On 3 Nov 2011, at 20:22, Ing. Branislav Geržo wrote: > I am running high loaded website and I did some profiling, because > webservers got high load. PHP Version 5.3.8, running FreeBSD 8.2-STABLE, > on lighttpd 1.4.29, running php-fpm on 3 servers > > xdebug is showing, that calling line "session

Re: [PHP] Regular Expression

2011-11-07 Thread Richard Quadling
On 5 November 2011 05:39, Negin Nickparsa wrote: > your welcome my Friend,I used it myself. > > On 11/4/11, drive view wrote: > > Thanks alot Negin for the prompt reply. This is most useful. > > > > Regards > > > > Best Toni > > > > On Sat, Nov 5, 2011 at 6:30 AM, Negin Nickparsa > wrote: > >

Re: [PHP] pcre little problem

2011-11-07 Thread Richard Quadling
On 4 November 2011 16:52, QI.VOLMAR QI wrote: > i have this part of code that works with DOMDocument: > > public function translateNFeXML(NFE $nfe_factory) { >$inf_adic = $nfe_factory->createElement('infAdic'); >if ($this->inf_ad_fisco) { >$inf_adic_fisco = > $nfe_fact