The PECL installer downloads the source code of the extension and tries to compile it with your local C compiler. The problem is that the whole process is designed for Unix systems, where a C compiler is available or can be easily installed. Setting an environment to compile C code under Windows is pretty complicate. The ideal solution is getting a DLL file that someone already compiled. The php source ships with a set of configuration scripts for windows using windows script host that mimics the autoconf tools as far as php is concerned.
December 15, Php Leave a comment. Questions: I am using Views Data Export library to generate excel data based on result from the view. What am I missing here? Varun Varun 3, 6 6 gold badges 28 28 silver badges 51 51 bronze badges. Add a comment. Active Oldest Votes.
Community Bot 1 1 1 silver badge. Since source of the extensions is easily available, instead of directly providing a specific dll, it would be better if you publish a detailed guide on how to a build a pecl extension dll from the source.
I found a few articles on this but still not very clear. As I said in a comment to another answer here: The build system on windows currentlydoesn't allow building extensions stand-alone, but oyu have to build from the PHP source tree.
Two years later an update to my previous comment: Meanwhile there is a "phpize" tool similar to the Unix one available from binary "development" downloads. Building PECL extensions often still isn't trivial as many developers don't test on windows, which needs some adoptions, especially when using 3rd party libraries — johannes.
Erwin Kaddy Erwin Kaddy 7 7 silver badges 14 14 bronze badges. Kevin Peno Kevin Peno 8, 1 1 gold badge 32 32 silver badges 56 56 bronze badges. So can we say that Zend is doing this on purpose for some possible future monetary gains? The windows php group is an open source group. That said, Zend Server is an enterprise solution from Zend, for monetary gain.
Which is probably why they added the most common modules to Zend Server for windows. VolkerK VolkerK You're talking Unix not Windows. Yes, I was intentionally vague by saying "create a makefile that includes the build rules". So what? Build the core and just the extension you want as a shared module, make sure the config parameters match those of php package you're using and then use the.
I found a few related posts here but didn't get my answer. So posting again. I know 2 methods, but none of them is working for me. So I cant download the DLL. Is there any place we can download the DLLs from? I tried with few other extensions also and getting the same error. If you need an extension not available there you might ask on the pecl-dev at lists.
0コメント