Символ APCu не найден: _zend_signal_globals

Я попытался установить APCu с помощью pecl. Установка прошла гладко. Тем не менее, PHP не может загрузить APCu.

Это сообщение об ошибке:

Предупреждение PHP: Запуск PHP: невозможно загрузить динамическую библиотеку ‘/usr/local/Cellar/php55/5.5.30/lib/php/extensions/no-debug-non-zts-20121212/apcu.so’ — dlopen (/ usr /local/Cellar/php55/5.5.30/lib/php/extensions/no-debug-non-zts-20121212/apcu.so, 9): символ не найден: _zend_signal_globals \ n Ссылка на: / usr / local / Cellar /php55/5.5.30/lib/php/extensions/no-debug-non-zts-20121212/apcu.so\n Ожидается в: плоском пространстве имен \ n в /usr/local/Cellar/php55/5.5.30/lib /php/extensions/no-debug-non-zts-20121212/apcu.so в Неизвестно в строке 0

PHP-конфигурации:

Использование: / usr / local / bin / php-config [ОПЦИЯ] Опции:
—prefix [/usr/local/Cellar/php55/5.5.30] —include [-I / usr / local / Cellar / php55 / 5.5.30 / include / php -I / usr / local / Cellar / php55 / 5.5.30 / include / php / main -I / usr / local / Cellar /php55/5.5.30/include/php/TSRM -I / usr / local / Cellar / php55 / 5.5.30 / include / php / Zend -I / usr / local / Cellar / php55 / 5.5.30 / include / php / ext -I / usr / local / Cellar / php55 / 5.5.30 / include / php / ext / date / lib] —ldflags [-L / usr / local / Cellar / libxml2 / 2.9.2 / lib -L / usr / local / opt / openssl / lib -L / usr / local / opt / jpeg / lib -L / usr / local / opt / libpng / lib -L / usr / local / Cellar / freetype / 2.6_1 / lib -L / usr / local / opt / gettext / lib -L / usr / local / opt / unixodbc / lib] —libs [-lcrypto -lssl -lcrypto -lz -lexslt -lresolv -ledit -lncurses -lldap -llber -liconv -liconv -lintl -lpng -lz -ljpeg -lcrypto -lssl -lcrypto -lcurlto -lssl -lcrypto -lm -lxml2 -lz -liconv -lm -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lcurl -lxml2 -lz -liconv -lm -lfreetype -lodbc -lodbc -lxml2 -lz -liconv -lm -lxml2 -lz -liconv -lm -lxml2 -lz -liconv -lm -lxml2 -lz -liconv -lm -lxml2 -lz -liconv -lm -lxml2 -lz -liconv -lm -lxml2 -lz -liconv -lm -lxml2 -lxslt] —extension-dir [/usr/local/Cellar/php55/5.5.30/lib/php/extensions/no-debug-non-zts-20121212] —include-dir [/usr/local/Cellar/php55/5.5.30/include/php] —man-dir [/usr/local/Cellar/php55/5.5.30/share/man] —php-binary [/usr/local/Cellar/php55/5.5.30/bin/php] —php-sapis [apache2handler cli fpm cgi] —configure-options [—prefix = / usr / local / Cellar / php55 / 5.5.30 —localstatedir = / usr / local / var —sysconfdir = / usr / local / etc / php / 5.5 —with- config-file-path = / usr / local / etc / php / 5.5 —with-config-file-scan-dir = / usr / local / etc / php / 5.5 / conf.d —mandir = / usr / local /Cellar/php55/5.5.30/share/man —enable-bcmath —enable-calendar —enable-dba —enable-exif —enable-ftp —enable-gd-native-ttf —enable- mbregex —enable-mbstring —enable-shmop —enable-мыло —enable-сокеты —enable-sysvmsg —enable-sysvsem —enable-sysvshm —enable-wddx —enable-zip —with- freetype-dir = / usr / local / opt / freetype —with-gd —with-gettext = / usr / local / opt / gettext —with-iconv-dir = / usr —with-icu-dir = / usr / local / opt / icu4c —with-jpeg-dir = / usr / local / opt / jpeg —with-kerberos = / usr —with-libedit —with-mhash —with-ndbm = / usr — -with-pdo-odbc = unixODBC, / usr / local / opt / unixodbc —with-png-dir = / usr / local / opt / libpng —with-unixODBC = / usr / local / opt / unixodbc —with -xmlrpc —with-zlib = / usr —with-readline = / usr / local / opt / readline —without-gm p —without-snmp —with-libxml-dir = / usr / local / opt / libxml2 —with-apxs2 = / usr / sbin / apxs —libexecdir = / usr / local / Cellar / php55 / 5.5.30 / libexec —with-bz2 = / usr —disable-debug —with-openssl = / usr / local / opt / openssl —enable-fpm —with-fpm-user = _www —with-fpm-group = _www —with-curl —with-xsl = / usr —with-ldap —with-ldap-sasl = / usr —with-mysql-sock = / tmp / mysql.sock —with-mysqli = mysqlnd —with-mysql = mysqlnd —with-pdo-mysql = mysqlnd —disable-opcache —enable-pcntl —without-pear —enable-dtrace —enable-zend-сигналы] — версия [5.5.30] —vernum [50530]

ОС: OS X 10.11.3

1

Решение

Задача ещё не решена.

Другие решения

Других решений пока нет …

По вопросам рекламы [email protected]