Sec Bug->Bug #81709 [Opn->Nab]: just trying to get memcache loading with php/wordpress
| From: | stas@php.net | Date: | Sat, 05 Feb 2022 23:42:18 +0000 |
| Subject: | Sec Bug->Bug #81709 [Opn->Nab]: just trying to get memcache loading with php/wordpress | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-239508@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=81709&edit=1
ID: 81709
Updated by: stas@php.net
Reported by: paul at scom dot ca
Summary: just trying to get memcache loading with
php/wordpress
-Status: Open
+Status: Not a bug
-Type: Security
+Type: Bug
Package: Compile Failure
Operating System: freebsd 12.0
PHP Version: 7.4.27
Block user comment: N
Private report: Y
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions. Due to the volume
of reports we can not explain in detail here why your report is not
a bug. The support channels will be able to provide an explanation
for you.
Thank you for your interest in PHP.
Previous Comments:
------------------------------------------------------------------------
[2022-02-05 22:23:07] paul at scom dot ca
Description:
------------
[17:17:39] www.scom.ca [root:0] /usr/local/src/net/php-extentions/memcache-4.0.5.2
# phpize
Configuring for:
PHP Api Version: 20190902
Zend Module Api No: 20190902
Zend Extension Api No: 320190902
[17:17:46] www.scom.ca [root:0] /usr/local/src/net/php-extentions/memcache-4.0.5.2
# ./configure
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/local/bin/gsed
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... amd64-unknown-freebsd12.1
checking host system type... amd64-unknown-freebsd12.1
checking target system type... amd64-unknown-freebsd12.1
checking for PHP prefix... /usr/local
checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main
-I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext
-I/usr/local/include/php/ext/date/lib
checking for PHP extension directory... /usr/local/lib/php/20190902-zts
checking for PHP installed headers prefix... /usr/local/include/php
checking if debug is enabled... no
checking if zts is enabled... yes
checking for gawk... no
checking for nawk... nawk
checking if nawk is broken... no
checking whether to enable memcache support... yes, shared
checking whether to enable memcache session handler support... yes
checking for the location of ZLIB... no
checking for the location of zlib... /usr
checking PHP version... PHP 7.x
checking for session includes... /usr/local/include/php
checking for memcache session support... enabled
checking for a sed that does not truncate output... /usr/local/bin/gsed
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/local/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 196608
checking command to parse /usr/local/bin/nm -B output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if cc supports -fno-rtti -fno-exceptions... yes
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... freebsd12.1 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
creating libtool
appending configuration tag "CXX" to libtool
configure: patching config.h.in
configure: creating ./config.status
config.status: creating config.h
config.status: config.h is unchanged
[17:17:53] www.scom.ca [root:0] /usr/local/src/net/php-extentions/memcache-4.0.5.2
# gmake
/bin/sh /usr/local/src/net/php-extentions/memcache-4.0.5.2/libtool --mode=compile cc
-I/usr/local/include/php -I. -I/usr/local/src/net/php-extentions/memcache-4.0.5.2 -DPHP_ATOM_INC
-I/usr/local/src/net/php-extentions/memcache-4.0.5.2/include
-I/usr/local/src/net/php-extentions/memcache-4.0.5.2/main
-I/usr/local/src/net/php-extentions/memcache-4.0.5.2 -I/usr/local/include/php
-I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend
-I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c
/usr/local/src/net/php-extentions/memcache-4.0.5.2/php7/memcache.c -o php7/memcache.lo
mkdir php7/.libs
cc -I/usr/local/include/php -I. -I/usr/local/src/net/php-extentions/memcache-4.0.5.2 -DPHP_ATOM_INC
-I/usr/local/src/net/php-extentions/memcache-4.0.5.2/include
-I/usr/local/src/net/php-extentions/memcache-4.0.5.2/main
-I/usr/local/src/net/php-extentions/memcache-4.0.5.2 -I/usr/local/include/php
-I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend
-I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c
/usr/local/src/net/php-extentions/memcache-4.0.5.2/php7/memcache.c -fPIC -DPIC -o
php7/.libs/memcache.o
In file included from /usr/local/src/net/php-extentions/memcache-4.0.5.2/php7/memcache.c:26:
In file included from /usr/local/include/php/main/php.h:33:
In file included from /usr/local/include/php/Zend/zend.h:27:
In file included from /usr/local/include/php/Zend/zend_types.h:25:
In file included from /usr/local/include/php/Zend/zend_portability.h:43:
In file included from /usr/local/include/php/Zend/zend_config.h:1:
/usr/local/include/php/main/../main/php_config.h:2372:10: fatal error: 'ext/php_config.h'
file not found
#include <ext/php_config.h>
^~~~~~~~~~~~~~~~~~
1 error generated.
gmake: *** [Makefile:192: php7/memcache.lo] Error 1
[17:17:57] www.scom.ca [root:0] /usr/local/src/net/php-extentions/memcache-4.0.5.2
www-1 02-05 16:44:01 {php-logging} [72508] (809989044) [05-Feb-2022 21:44:01 UTC] PHP
Warning: PHP
Startup: Unable to load dynamic library
'memcache'
(tried: /usr/local/lib/php/20190902/memcache
(Cannot
open
"/usr/local/lib/php/20190902/memcache"),
/usr/local/lib/php/20190902/memcache.so
(/usr/local/lib/php/20190902/memcache.so:
Undefined
symbol "executor_globals_offset")) in
Unknown on line 0
www-1 02-05 16:31:15 {php-logging} [53604] (809980041) [05-Feb-2022 21:31:14 UTC] PHP
Warning: PHP
Startup: Unable to load dynamic library
'memcache'
(tried: /usr/local/lib/php/20190902/memcache
(Cannot
open
"/usr/local/lib/php/20190902/memcache"),
/usr/local/lib/php/20190902/memcache.so
(/usr/local/lib/php/20190902/memcache.so:
Undefined
symbol "executor_globals_offset")) in
Unknown on line 0
www-1 02-05 16:31:15 {php-logging} [53607] (809980042) [05-Feb-2022 21:31:14 UTC] PHP
Warning: PHP
Startup: Unable to load dynamic library
'memcached'
(tried: /usr/local/lib/php/20190902/memcached
(Cannot
open
"/usr/local/lib/php/20190902/memcached"),
/usr/local/lib/php/20190902/memcached.so
(/usr/local/lib/php/20190902/memcached.so:
Undefined
symbol "compiler_globals_offset")) in
Unknown on line 0
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=81709&edit=1