ich habe jetzt einmal mmcache installiert und stelle fest - es geht nicht
Ein einfaches test.php liefert (in der Shell)
Code: Select all
PHP Warning: Unknown(): Unable to load dynamic library './mmcache.so' - ./mmcache.so: cannot open shared object file: No such file or directory in Unknown on line 0
Content-type: text/html
X-Powered-By: PHP/4.3.2
HalloPHP habe ich mit:
Code: Select all
./configure
--prefix=/usr
--sysconfdir=/etc
--enable-discard-path
--with-openssl
--with-zlib
--enable-bcmath
--with-bz2
--enable-calendar
--enable-dba
--with-gdbm
--enable-dio
--enable-ftp
--with-gd
--with-jpeg-dir=/usr
--with-png-dir=/usr
--with-zlib-dir=/usr
--with-freetype-dir=/usr
--enable-gd-native-ttf
--with-gettext
--enable-mbstring
--enable-mbregex
--with-mime-magic
--with-mysql
--disable-overload
--with-readline
--with-mm
--enable-sysvmsg
--enable-sysvsem
--enable-sysvshm
--with-expat-dir=/usr
--disable-debug
--enable-versioning
--enable-memory-limit
make
make install
cp php.ini-recommended /etc/php.ini
ln -s /etc/php.ini /usr/lib/php.iniCode: Select all
export PHP_PREFIX="/usr"
$PHP_PREFIX/bin/phpize
./configure --enable-mmcache=shared --with-php-config=$PHP_PREFIX/bin/php-co
nfig
make
make install
mkdir /tmp/mmcache
chmod 0777 /tmp/mmcache
cat >> /etc/php.ini << "EOF"
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Enable truck MMCache as php extension ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
extension="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.compress="1"
EOFWas habe ich falsch gemacht?
