Compile APC in PHP 5.2
| From: | Alexander Diedler | Date: | Wed, 12 Dec 2012 13:33:13 +0000 |
| Subject: | Compile APC in PHP 5.2 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-319851@lists.php.net to get a copy of this message | ||
Hello,
I try to get APC working for a compiled PHP 5.2.17.
On this Ubuntu, we have an PHP 5.3 installed with APT-GET and a PHP 5.2 as CGI module compiled with
make etc.
In the PHP 5.3 I got APC running in phpinfo, but not in PHP 5.2, what we have to do to get work it?
I use this
http://de2.php.net/manual/de/install.pecl.static.php
but if I use the configure with
./configure --prefix=/opt/php5.2 --with-config-file-path=/opt/php5.2 --with-mysqli --with-mysql
--with-pdo-mysql --with-curl --with-gd --with-jpeg-dir=/usr --with-png-dir=/usr
--with-freetype-dir=/usr --enable-cli --enable-fastcgi --enable-discard-path
--enable-force-cgi-redirect --enable-mbstring --with-bz2 --enable-gd-native-ttf --enable-calendar
--with-gmp --enable-bcmath --with-xpm-dir=/usr --enable-soap --with-openssl --with-zlib --with-apc
There are only errors in the configure and it seems, that buildconf destroy the configure file.
I try also
http://www.linuxask.com/questions/how-to-compile-apc-module-for-php
but if I add extension=apc.so and restart, it will not be shown in phpinfo.
Best regards
Alexander