Code: Select all
2017/05/06 10:25:25 [error] 16296#102163: *5 FastCGI sent in stderr: "PHP message: PHP Fatal error: Call to undefined function apc_fetch() in /usr/local/www/zoneminder/api/lib/Cake/Cache/Engine/ApcEngine.php on line 78" while reading response header from upstream, client: 192.168.1.1, server: www.xxx.xxx, request: "GET /api/ HTTP/2.0", upstream: "fastcgi://unix:/var/run/php-fpm.sock:
as far as i can tell the apc package has been depreciated as not working on php 55 56 70
Code: Select all
# Created by: Thierry Thomas <thierry@pompo.net>
# $FreeBSD: head/www/pecl-APC/Makefile 409110 2016-02-18 14:47:05Z miwi $
PORTNAME= APC
PORTVERSION= 3.1.14
PORTREVISION= 1
CATEGORIES= www
#MASTER_SITES= http://pecl.php.net/get/
MASTER_SITES= LOCAL/sunpoet
PKGNAMEPREFIX= pecl-
DISTNAME= ${PORTNAME}-3.1.13
DIST_SUBDIR= PECL
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Alternative PHP Cache
LICENSE= PHP301
DEPRECATED= Unmaintained by upstream and not work for PHP 5.5+
EXPIRATION_DATE=2016-03-15
OPTIONS_DEFINE= DOCS FILEHITS IPC SEMAPHORES SPINLOCKS
FILEHITS_DESC= Per request cache info
IPC_DESC= IPC shm memory support (default: mmap)
SEMAPHORES_DESC=System V IPC semaphores (default: fcntl)
SPINLOCKS_DESC= Spinlocks (experimental)
CFLAGS+= -I${LOCALBASE}/include
CONFIGURE_ARGS= --enable-apc
IGNORE_WITH_PHP=55 56 70
PHP_MODNAME= ${PORTNAME:tl}
PKGMESSAGE= ${WRKDIR}/pkg-message
SUB_FILES= pkg-message
USE_PHP= yes
USE_PHPEXT= yes
USES= tar:tgz
PORTDOCS= CHANGELOG INSTALL NOTICE apc.php
FILEHITS_CONFIGURE_ARGS=--enable-apc-filehits
IPC_CONFIGURE_ARGS= --disable-apc-mmap
SEMAPHORES_CONFIGURE_ARGS= --enable-apc-sem
SPINLOCKS_CONFIGURE_ARGS= --enable-apc-spinlocks
MAKE_JOBS_UNSAFE=yes
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}/
cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>
Any help would be appreciated