View previous topic :: View next topic |
Author |
Message |
NiLuJe Guru
Joined: 06 Nov 2004 Posts: 303 Location: Paris, France
|
Posted: Tue Dec 21, 2004 11:16 pm Post subject: [APACHE2 PHP4] USE +threads & TurckMMCache ? :'( |
|
|
Voilà voilà, j'me débat avec mmcache depuis le début d'après midi, et pas moyen de le faire fonctionner avec le module php (4.3.10) pour Apache 2 (2.0.52), j'ai droit à un joli :
Code: | Failed loading /usr/lib/php/extensions/no-debug-non-zts-20020429/eaccelerator.so: /usr/lib/php/extensions/no-debug-non-zts-20020429/eaccelerator.so: undefined symbol: output_globals | dans les logs d'erreur d'apache ...
(Que ce soit avec mmcache ou eaccelerator, même punition :/ )
Alors que ca à l'air de marcher impec avec php en cli :
Code: | php -v
PHP 4.3.10 (cli) (built: Dec 21 2004 17:03:33)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
with eAccelerator v0.9.1, Copyright (c) 2004-2005 eAccelerator, by eAccelerator |
Ca commence à me taper sur le système ^^ J'ai aucune idée de pourquoi ca marche pas :/ ;'(
Mes use flags, au cas ou :
Code: | [ebuild R ] net-www/apache-2.0.52-r2 -berkdb -debug -doc -gdbm -ipv6 -ldap +php -ssl -static +threads 0 kB
[ebuild R ] dev-php/mod_php-4.3.10 +X +apache2 -berkdb -crypt -curl -debug -doc -fdftk -firebird -flash -freetds +gd -gd-external -gdbm -gmp -hardenedphp -imap -informix -ipv6 +java +jpeg -kerberos -ldap -mcal -memlimit -mssql +mysql +nls -oci8 -odbc +pam +pdflib +png -postgres +qt -snmp +spell -ssl +tiff +truetype +xml2 -yaz 0 kB
[ebuild R ] dev-php/eaccelerator-0.9.1 0 kB [1] |
Merci d'avance
Last edited by NiLuJe on Wed Dec 22, 2004 11:35 am; edited 1 time in total |
|
Back to top |
|
|
NiLuJe Guru
Joined: 06 Nov 2004 Posts: 303 Location: Paris, France
|
Posted: Wed Dec 22, 2004 11:34 am Post subject: |
|
|
Erf, j'vais reformuler ma question, puisqu'après un
Code: | USE="-threads" emerge apache mod_php eaccelerator | ben ca marche!
Donc bon, apparemment, ca change juste le module mpm d'apache2 (worker en +threads, sinon prefork), et donc les thread safety pour php... :/
Mais ce qui me titille, c'est ca:
eaccelerator Readme wrote: | Section "To install as Zend extension:"
[ ... ]
If you use thread safe build of PHP you must use "zend_extension_ts" instead
of "zend_extension" |
(Bien evidemment j'avais essayé, et ca changeait pas grand chose :/ )
Sniff ;'(
EDIT : Même punition sur une Debian, Apache2 + PHP4 + eaccelerator compilés à la main, impossible de faire tourner eaccelerator si Apache est compilé avec le mpm worker .. oO Et avec le mpm prefork, zwif, ca marche impec! (C'est une tuerie niveau perfs ce truc en passant ^^) |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|