Page 3 of 3
Re: Turck MMCache, ein GPL PHP-Accelerator
Posted: 2004-03-22 16:12
by adjustman
:-D aah ja. Hab ich schon. Bringt nix. Noch ne Idee?
Re: Turck MMCache, ein GPL PHP-Accelerator
Posted: 2004-03-22 18:28
by Anonymous
adjustMan wrote:
Code: Select all
extension=/usr/lib/php4/20010901/mmcache.so
mmcache.shm_size="16"
mmcache.cache_dir="/tmp/mmcache"
mmcache.enable="1"
mmcache.optimizer="1"
mmcache.check_mtime="1"
mmcache.debug="0"
mmcache.filter=""
mmcache.shm_max="0"
mmcache.shm_ttl="0"
mmcache.shm_prune_period="0"
mmcache.shm_only="0"
mmcache.compress="1"
mache aus:
extension=/usr/lib/php4/20010901/mmcache.so
ein:
extension=mmcache.so
suche in deiner php.ini
nach extension_dir
da sollte jetzt stehen:
extension_dir = ./
mache daraus:
extension_dir=/usr/lib/php4/20010901/
und wenn es immer noch nicht geht lösche:
extension=/usr/lib/php4/20010901/mmcache.so
und mache daraus ein:
zend_extension=/usr/lib/php4/20010901/mmcache.so
Re: Turck MMCache, ein GPL PHP-Accelerator
Posted: 2004-03-22 19:11
by adjustman
:-D das hab ich übersehen.
ich hab jetzt aus extension_dir = ./ => extension_dir = gemacht. Geht. Danke.
Re: Turck MMCache, ein GPL PHP-Accelerator
Posted: 2004-04-23 20:59
by maoliter
Gibts da nicht schon mmcache für php4.3.5=< ?
Re: Turck MMCache, ein GPL PHP-Accelerator
Posted: 2004-05-05 19:31
by odysseus
Bei mir läuft mmcache 2.4.6 und PHP 4.3.6 ...
Re: Turck MMCache, ein GPL PHP-Accelerator
Posted: 2004-05-15 22:23
by metrix
Re: Turck MMCache, ein GPL PHP-Accelerator
Posted: 2004-07-20 23:33
by as-n
Code: Select all
h7466:~/turck-mmcache-2.4.6 # php mmcache.php
PHP Warning: [Turck MMCache] This build of "Turck MMCache" was compiled for PHP version 4.3.7. Rebuild it for your PHP version (4.3.8) or download precompiled binaries.
in Unknown on line 0
PHP Warning: Unknown(): Unable to initialize module 'Turck MMCache' in Unknown on line 0
Ich habe es aber mit/für 4.3.8 compiliert. :?:
Re: Turck MMCache, ein GPL PHP-Accelerator
Posted: 2004-07-20 23:45
by Roger Wilco
AS-N wrote:Was ist dass denn jetzt?
Installiere Autoconf...
Re: Turck MMCache, ein GPL PHP-Accelerator
Posted: 2004-07-20 23:54
by as-n
Ja, war wieder mal zu schnell udn selber den Fehler gefunden, aber jetzt kommt obiges.
Re: Turck MMCache, ein GPL PHP-Accelerator
Posted: 2004-07-21 00:05
by Roger Wilco
AS-N wrote:Code: Select all
h7466:~/turck-mmcache-2.4.6 # php mmcache.php
PHP Warning: [Turck MMCache] This build of "Turck MMCache" was compiled for PHP version 4.3.7. Rebuild it for your PHP version (4.3.8) or download precompiled binaries.
in Unknown on line 0
PHP Warning: Unknown(): Unable to initialize module 'Turck MMCache' in Unknown on line 0
Ich habe es aber mit/für 4.3.8 compiliert. :?:
Sind auch die richtigen Header installiert (die von PHP 4.3.8)?
Was steht in /usr/include/php/main/php_version.h?
Re: Turck MMCache, ein GPL PHP-Accelerator
Posted: 2004-07-21 00:27
by as-n
Danke, es waren tatsächlich noch die alten Headerfiles drin, jetzt läuft es.
Ciao
AS-N
Re: Turck MMCache, ein GPL PHP-Accelerator
Posted: 2004-09-06 11:55
by metrix
sollte es hier noch mal was geben?
auf der seite prangert seit wochen: SITE IS UNDER RECONSTRUCTION!
hat einer gute alternativen gefunden oder ist einem bekannt, ob es noch mal weitergeht?
Re: Turck MMCache, ein GPL PHP-Accelerator
Posted: 2005-01-11 12:13
by andreask2
Re: Turck MMCache, ein GPL PHP-Accelerator
Posted: 2005-01-12 10:12
by konni
Ich bekomme folgenden Fehler, wenn ich das configure Script erstellen will:
/usr/local/src/eaccelerator # $PHP_PREFIX/bin/phpize
configure.in:9: warning: underquoted definition of PHP_WITH_PHP_CONFIG
run info '(automake)Extending aclocal'
or see
http://sources.redhat.com/automake/auto ... ng-aclocal
configure.in:32: warning: underquoted definition of PHP_EXT_BUILDDIR
configure.in:33: warning: underquoted definition of PHP_EXT_DIR
configure.in:34: warning: underquoted definition of PHP_EXT_SRCDIR
configure.in:35: warning: underquoted definition of PHP_ALWAYS_SHARED
acinclude.m4:19: warning: underquoted definition of PHP_PROG_RE2C
/usr/share/aclocal/libxml.m4:10: warning: underquoted definition of AM_PATH_XML
/usr/share/aclocal/libxml.m4:205: warning: underquoted definition of AM_PATH_XML2
/usr/share/aclocal/libmcrypt.m4:17: warning: underquoted definition of AM_PATH_LIBMCRYPT
autom4te: unknown language: Autoconf-without-aclocal-m4
aclocal: autom4te failed with exit status: 1
Re: Turck MMCache, ein GPL PHP-Accelerator
Posted: 2005-01-12 14:55
by andreask2
Welche Distribution? Hast Du alle benötigten Pakete installiert (php-devel oder sowas...)? Hast Du es mal der Installation eines binären Paketes versucht?
Und sonst mal auf der eAccelerator Seite unter "Support" nachfragen, am besten die Lösung auch eben hier posten.
Re: Turck MMCache, ein GPL PHP-Accelerator
Posted: 2005-01-12 16:11
by konni
Also Distri ist Suse 8.2.
Binärpaket fällt insofern flach, da ich php u.a. immer selbst compiliere, und die 8.2 binärpakete sind für das Ã?HÃ? kompiliert, welches suse damals ausgeliefert hatte.
Apache devel usw. ist installiert.
automake, autoconf usw. auch.
Re: Turck MMCache, ein GPL PHP-Accelerator
Posted: 2005-01-12 16:37
by konni
hah, hab die Lösung gefunden, hab nur ne neuere Version von autoconf oder wars automake gebraucht ;)
Habe Probleme mit der Installtion des mmcache
Posted: 2006-02-16 12:05
by sillium123
Mein 1&1 Root-Server:
SUSE 9.1, Apache 2.0.49, PHP 4.3.4
Hier die Fakten der Console:
p88595:/home/httpd/vhosts/domain.com/turck-mmcache-2.4.6 # whereis php
php: /usr/bin/php /etc/php.ini /usr/lib/php /usr/share/php /usr/share/man/man1/php.1.gz
p88595:/home/httpd/vhosts/domain.com/turck-mmcache-2.4.6 # whereis phpize
phpize: /usr/bin/phpize
p88595:/home/httpd/vhosts/domain.com/turck-mmcache-2.4.6 # whereis autoconf
autoconf: /usr/bin/autoconf /usr/share/autoconf /usr/share/man/man1/autoconf.1.gz
p88595:/home/httpd/vhosts/domain.com/turck-mmcache-2.4.6 # whereis libtool
libtool: /usr/bin/libtool /usr/share/libtool
p88595:/home/httpd/vhosts/domain.com/turck-mmcache-2.4.6 # whereis m4
m4: /usr/bin/m4 /usr/share/m4 /usr/share/man/man1/m4.1.gz
p88595:/home/httpd/vhosts/domain.com/turck-mmcache-2.4.6 # export PHP_PREFIX="/usr" $PHP_PREFIX/bin/phpize ./configure --enable-mmcache=shared --with-php-config=$PHP_PREFIX/bin/php-config make
-bash: export: `/bin/phpize': not a valid identifier
-bash: export: `./configure': not a valid identifier
-bash: export: `--enable-mmcache=shared': not a valid identifier
-bash: export: `--with-php-config=/bin/php-config': not a valid identifier
p88595:/home/httpd/vhosts/domain.com/turck-mmcache-2.4.6 #
Was läuft nur schief?
Danke für eure HILFE!
Re: Turck MMCache, ein GPL PHP-Accelerator
Posted: 2006-02-16 12:34
by vevelt
Vielleicht solltest du die Kommandos einmal der Reihe nach ausführen
Code: Select all
export PHP_PREFIX="/usr"
$PHP_PREFIX/bin/phpize
./configure --enable-mmcache=shared --with-php-config=$PHP_PREFIX/bin/php-config
make
Achso, und zudem mal einen Blick auf eAccelerator werfen. TurckMMCache wird nicht weiterentwickelt, für PHP4 ist eAccelerator momentan die Wahl...
Gruß, Vevelt.
Re: Turck MMCache, ein GPL PHP-Accelerator
Posted: 2006-04-13 11:15
by art-media
weiss jemand ob mensch den cache auch zusammen mit plesk benutzen kann obwohl dort script mit dem zend encoded sind?
eaccelerator
Posted: 2007-02-11 12:49
by Anonymous
Hallo zusammen,
ich habe auch versucht eaccelerator zu installieren und bin so vorgegangen:
Code: Select all
export PHP_PREFIX=/bin/phpize
Das hatte noch funktioniert aber dann das:
h1039020:/tmp/eaccelerator-0.9.5 # ./configure --enable-mmcache=shared --with-php-config=$PHP_PREFIX/bin/php-config
-bash: ./configure: No such file or directory
was mach ich falsch? Kann mir bitte einer weiterhelfen. Ich bin leider nicht so firm.
Viele Grüße
Re: Turck MMCache, ein GPL PHP-Accelerator
Posted: 2007-02-11 12:50
by Roger Wilco
Dein /tmp ist vermutlich mit der Option noexec eingehängt.
Re: Turck MMCache, ein GPL PHP-Accelerator
Posted: 2007-02-11 13:27
by Anonymous
Ich habe es nochmal aus dem root raus probiert, immer noch das gleiche:
Code: Select all
h1039020:/eaccelerator-0.9.5 # ./configure --enable-mmcache=shared --with-php-config=$PHP_PREFIX/bin/php-config
-bash: ./configure: No such file or directory
Hast Du mir vielleicht nochmal einen Tip?
nochmal Danke
Re: Turck MMCache, ein GPL PHP-Accelerator
Posted: 2007-02-11 14:29
by Roger Wilco
Das Configure-Skript hat das X-Bit nicht gesetzt. Probiers mal mit `bash configure --enable-mmcache=shared --with-php-config=$PHP_PREFIX/bin/php-config ` oder setze das X-Bit (-> `man chmod`).
EDIT: Existiert die Datei "configure" überhaupt in dem Verzeichnis?
Re: Turck MMCache, ein GPL PHP-Accelerator
Posted: 2007-11-30 23:53
by squize
Das confiure existiert wahrscheinlich nicht, da es erst durch phpize erzeugt wird.
export PHP_PREFIX=/bin/phpize
Damit wirst du nicht weit kommen. In der Installationsanleitung steht es so auch nicht drin:
export PHP_PREFIX="/usr"
$PHP_PREFIX/bin/phpize
./configure
--enable-eaccelerator=shared
--with-php-config=$PHP_PREFIX/bin/php-config
make
You must specify the real prefix where PHP is installed in the "export"
command. It may be "/usr" "/usr/local", or something else.
Damit solltest du es hinbekommen
Gruss Marc