Re: PL/php in pg_pltemplate - Mailing list pgsql-hackers

From Matteo Beccati
Subject Re: PL/php in pg_pltemplate
Date
Msg-id 438834F2.1090407@beccati.com
Whole thread Raw
In response to Re: PL/php in pg_pltemplate  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: PL/php in pg_pltemplate  (Alvaro Herrera <alvherre@commandprompt.com>)
List pgsql-hackers
Hi,

> The only sore point of the PL/php build is that it needs the Apache2
> module, so it needs to know the path to it.  I haven't found a way to do
> this automatically without requiring APXS which I certainly don't want
> to do ...

Maybe I didn't get the point, but this could be as simple as writing a 
new PHP sapi (i.e. sapi/pgsql) which builds the .so without requiring 
Apache or other software.

I've also seen there is an experimental embed sapi which could already 
be what you need (--enable-embed).


Best regards
--
Matteo Beccati
http://phpadsnew.com
http://phppgads.com


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: PL/php in pg_pltemplate
Next
From: Martijn van Oosterhout
Date:
Subject: Re: SHOW ALL output too wide