|
From: Bart V. <bar...@zo...> - 2006-03-28 07:15:11
|
Vyacheslav Chernousov wrote: > Hi all. > > I see new page in wiki - http://eaccelerator.net/wiki/Faq > > Latest question is about EA working with php-cgi or php-cli. And I was > wondered with answer: "This is not yet supported and it won't be > supported in the near future." > > I'm using php-cgi and php-cli (5.1.2) with latest EA from SVN and > it works good for me. At least I see compiled scripts in > eaccelerator.cache_dir and also: > > ~ # php -v > PHP 5.1.2-gentoo (cli) (built: Mar 16 2006 12:54:26) > Copyright (c) 1997-2006 The PHP Group > Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies > with eAccelerator v0.9.5-dev, Copyright (c) 2004-2006 eAccelerator,= by eAccelerator > with Xdebug v2.0.0beta5, Copyright (c) 2002, 2003, 2004, 2005, by D= erick Rethans > > > ~ # php-cgi -v > PHP 5.1.2-gentoo (cgi-fcgi) (built: Mar 16 2006 13:06:55) > Copyright (c) 1997-2006 The PHP Group > Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies > with eAccelerator v0.9.5-dev, Copyright (c) 2004-2006 eAccelerator,= by eAccelerator > with Xdebug v2.0.0beta5, Copyright (c) 2002, 2003, 2004, 2005, by D= erick Rethans > > > Is this the error in FAQ? > =20 > > =20 You can load eAccelerator in the cgi/cli version, hence the line in the output. But eAccelerator will never initialize it's cache. eAccelerator needs a process that keeps running and all other php processes that need to access the cache have to be forked from the main process. Only mod_php and php-fastcgi can offer that. gr, Bart --=20 Bart Vanbrabant <bar...@zo...> PGP fingerprint: 093C BB84 17F6 3AA6 6D5E FC4F 84E1 FED1 E426 64D1 |