V
V
Vyacheslav Slinko2010-10-29 13:13:55
PHP
Vyacheslav Slinko, 2010-10-29 13:13:55

php5-fpm not working with php-apc on ubuntu 10.10?

Send php5-fpm and php-apc packages from ubuntu 10.10 official repository, configure apc:
/etc/php5/conf.d/apc.ini

extension=apc.so<br/>
apc.enabled=1<br/>
apc.shm_size=128M

After restarting php5-fpm on the site the error is:
Fatal error: Call to undefined function apc_exists() in /var/www/.../application/models/user_model.php on line 271

phpinfo(); via fpm replies that the apc module is loaded.
Has anyone encountered a similar problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan, 2010-10-29
@KeepYourMind

apc_exists has existed since version 3.1.4. In ubuntu 3.1.3p1-2

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question