Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Nov 2018 17:24:49 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 233255] www/unit-php: error: no PHP embed SAPI found.
Message-ID:  <bug-233255-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233255

            Bug ID: 233255
           Summary: www/unit-php: error: no PHP embed SAPI found.
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: osa@FreeBSD.org
          Reporter: iron.udjin@gmail.com
             Flags: maintainer-feedback?(osa@FreeBSD.org)
          Assignee: osa@FreeBSD.org

I'm trying to build www/unit-php with php56:

cd /usr/ports/www/unit-php/work-php56/unit-1.6 &&  ./configure php
--lib-path=3D/usr/local/lib  --module=3Dphp56
configuring PHP module
checking for PHP ... found
 + PHP SAPI: [cli embed fpm]
checking for PHP embed SAPI ... not found

./configure: error: no PHP embed SAPI found.

*** Error code 1

php56 built with flags:
        CGI            : off
        CLI            : on
        DEBUG          : off
        DTRACE         : off
        EMBED          : on
        FPM            : on
        IPV6           : on
        LINKTHR        : on
        MAILHEAD       : off
        PHPDBG         : off
        ZTS            : on

# php-config --php-sapis
cli embed fpm

It seems configure script doesn't see 'embed' SAPI.

OS: FreeBSD 12.0-BETA4 r340415

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-233255-7788>