Problems with installing PECL extension sphinx-1.1.0 under PHP 5.4.10

Source: Internet
Author: User
Problems with installing PECL extension sphinx-1.1.0 under PHP 5.4.10

????? The previous installation of Pecl extended sphinx-1.1.0 in PHP 5.2.16 and 5.3.17 environments was successful. But today in PHP 5.4.10 environment

An error was encountered while installing sphinx-1.1.0.

????? The error encountered in the PHP official web site as a bug is reflected by other users, see

????? https://bugs.php.net/bug.php?id=61241

?

????? How to resolve:

????? 1. The reply from PHP developer tony2001@php.net was fixed in the PHP update source code released by SVN.

?????? Reply Time is: 2012-06-12 19:17 UTC

?????? Because the PHP used is installed on a server system, this method is not appropriate.

????? 2. Refer to the reply of Andrew at cbtech Dot co dot uk , to sphinx-1.1.0 the source code modification, and then compile and install.

????? Here's what they reply to:

If you are sphinx.c from:
retval = Std_hnd->read_property (object, member, type TSRMLS_CC);
To
retval = Std_hnd->read_property (object, member, type TSRMLS_CC, NULL);
It compiles and seems to work.

?

????? Simple description of the edit installation method:

# TAR-XZF sphinx-1.1.0.tgz# CD sphinx-1.1.0# vi sphinx.c#./configure# make && make install

?

????? PECL extension of the source code manually compiled installation can be found in:

????? 1. http://www.php.net/manual/zh/install.pecl.phpize.php

????? 2. Mac php RabbitMQ amqp Extension Install Expansion pack compilation

?

  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.