Hi all,

I am trying to install the APC extension for PHP on my OBSD server.
Steps taken: pkg_add pecl-APC-3.1.7p0.tgz which works fine
When I use pkg_info to check, it tells me to create a symbolic link
from /etc/php-${PV}.sample/${MODULE_NAME}.ini to
/etc/php-${PV}/${MODULE_NAME}.ini however, there is no ini file
installed in the .sample directory.
Using pkg_info with the -L option lists an apc.so file in
/usr/local/lib/php-5.2/modules/apc.so, but the PHP version I'm using
is 5.3. Therefore I copied the apc.so file to
/usr/local/lib/php-5.3/modules but I am not sure that's the right
thing to do.
I have created a phpinfo page and it tells me that the ini files
parsed contain (among others) /etc/php-5.3/apc.ini so that looks ok.
My /etc/php-5.3/apc.ini file contains just three lines:
extension=apc.so
apc.enabled=1
apc.shm_size=30
As I understand it, my phpinfo page should list a distinct "apc"
section in which its settings are listed. This is not the case. Please
help me getting APC set up, as I am stuck at this point. If you need
any configuration file contents or log files, just let me know.

Thanks in advance,
hiro

Reply via email to