For Programmers: Free Programming Magazines  


Home > Archive > PHP Installation > April 2006 > compiling extensions for multiple PHP interfaces









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author compiling extensions for multiple PHP interfaces
William Kyngesburye

2006-04-29, 6:59 pm

I've been packaging a PHP binary for a while, along with some
extensions (as external libraries, not built into PHP), and I'm
looking into ways to simplify things. (I don't program anything, just
build and package for distribution)

For some reason, I got the impression a long time ago that an
extension had to be built for a particular PHP interface (PHP CGI,
PHP apache DSO, ...). So I've been building multiple copies of
extensions, one for each PHP interface I build.

So, does anyone know if this is really necessary? Maybe it just
depends on the extension? (The one main extension I deal with at one
time was particular about the PHP interface because of the regex used
in PHP (PHP or system), but I think it deals with that better now.)

-----
William Kyngesburye <kyngchaos@kyngchaos.com>
http://www.kyngchaos.com/

[Trillian] What are you supposed to do WITH a maniacally depressed
robot?

[Marvin] You think you have problems? What are you supposed to do
if you ARE a maniacally depressed robot? No, don't try and answer,
I'm 50,000 times more intelligent than you and even I don't know the
answer...

- HitchHiker's Guide to the Galaxy
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com