PHP extension does not work properly under the low PHP version.

Source: Internet
Author: User
I just contacted PHP, in the V5.5.14 source environment to make a call to the third-party dynamic Library Extension library, the library in Xampp V3.2.1 (including PHP V 5.5.11) work properly, but added to PHP V5.2.17.17 after the php.ini, Apache failed to start, how can i solve?


Reply to discussion (solution)

php5.2?php5.5?? It's too big.

Do you mean to recompile the extension library under php5.2? Please tell me how to build an extended library development environment under the Windows platform php5.2, thank you.

Looking for an old version of this library that adapts to version 5.2.

You need to have PHP 5.2.17.17 source code and compile the package
Then compile in this environment with VC6

Typically, extensions are not common between each iteration.

You need to have PHP 5.2.17.17 source code and compile the package
Then compile in this environment with VC6

Typically, extensions are not common between each iteration.

Yes, like I did when I was memcache. A number of third-party expansion DLL components were found to match successfully.

It is possible that the version is inconsistent and the load fails, resulting in Apache boot failure.

xuzuning Hello, I found the source of php5.2.17 on the internet, but did not find the appropriate compilation package, can you provide me with a copy?

Another tool, Phpstudy can support the automatic upgrade of PHP version

PHP version is determined by the partner. PHP upgrade is very troublesome for them, so I try to adapt to this version.

Finally put php5.2.17 under the problem of generating an extension library, summed up the following 2 points:
1. No need to Cygwin, PHP compiler dependent binary tools, relying on the library and header files, only with php5.2.17 source code can be developed to expand the library, the source code has a skeleton project, on it personality can;
2. Do not VC6, but with the same VC2005 can develop php5.2.17 expansion library.
Refer to "Developing PHP extension DLLs under Windows (no Cygwin required)" Http://hi.baidu.com/how2012/item/52a50b17defdc38988a956ab

  • 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.