need help with compiling apc-cache
| From: | Sebastian Stadtlich | Date: | Wed, 05 Sep 2001 16:00:38 +0000 |
| Subject: | need help with compiling apc-cache | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-66056@lists.php.net to get a copy of this message | ||
Hi
I'm completely desperate. it looks i'm missing something when i try to
install the cache on my server :-[
maybe anyone can have a quick look and point me to my error. Thanks in
advance..
i try to install APC on my redhat 7.1 server.
I use apache apache_1.3.19 and built php in it.
( is that possible at all??? )
what i do is :
copy files to /usr/src/php4.0.6/ext/apc
cd /usr/src/php4.0.6/
make clean
./configure --enable-apc --with-config-file-path=/etc --disable-debug
--with-exec-dir=/usr/bin --with-regex=system --with-gettext --with-gd
--with-jpeg-dir=/usr --with-png --with-zlib --enable-magic-quotes
--enable-sockets --enable-track-vars --enable-ftp --with-mysql
--with-xml --enable-trans-sid --with-apache=../apache_1.3.19
make
make install
cd ../apache_1.3.19
./configure --prefix=/www --activate-module=src/modules/php4/libphp4.a
make
edit php.ini :
apc.mode = mmap
apc.cachedir = /tmp
then i stop my webserver, copy the new httpd into /www/bin , start it
again.
all i get is :
Call to undefined function: apc_cache_index()
what am i missing????
or does it neither work as static build in or with php 4.0.6 ????
thanks
Sebastian