简体   繁体   中英

PHP Modules - Compiling on Windows

We are moving our server to a new server, and going from PHP 4.x to PHP 5.3. We need to add something like 10 extensions (php_pdf.dll, php_zip.dll, etc). I've Googled around, and it looks like I need to compile them, because all I can find is the source code for them. This seems to be the best guide I can find for compiling an extension, but it looks like I need to also compile PHP to compile them. I already have PHP installed and configured though, so is there a way I can just compile the *.dll with the binary I already have for PHP?

From what I see in the php manual , you can find the core extensions in the php/ext/ -folder of your download and most of the other extensions in the PECL-Library for windows (which currently is down). Last chance is downloading the WAMPserver - your extensions may already be compiled there.

All other choices involves downloading the dlls from untrusted sources - I'd stick with compiling php then (while you will have to compile php completely, you may just use the dlls and keep your already installed php system). This guide will get you started.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM