Project

General

Profile

WikiStart » History » Version 21

bford -, 12/21/2006 02:15 PM

1 4 Álvaro Herrera
= PL/php Trac =
2 1
3 13 Álvaro Herrera
Welcome to the PL/php Trac site. This site is designed to help us foster a community around PL/php. Recently, PL/php has started seeing more development, and we have recently started releasing new versions.  Please see the [wiki:Downloads] page.
4 1
5 19 bford -
PL/php 1.3 was released on 2006-07-14. It has been sitting here for a while and works pretty well. The following we know does not work:
6
7
{{{
8
CREATE OR REPLACE FUNCTION test_func() RETURNS text $$
9
10
RETURN phpinfo();
11
12
$$ LANGUAGE 'plphp';
13
}}}
14
15
It will result in an execution timeout.
16
17
We also do not currently support in/out parameters but it is on the list.
18
19
----
20
21
22 13 Álvaro Herrera
PL/php 1.2 was released on 2005-12-13.  This version adds SRF (Set-Returning Function) support.  It is also an attempt to make the build system a bit more independent of your actual setup.  In order to build it, you need to have the apxs program somewhere in your path.  Please report any incompatibility.
23
24
PL/php 1.1 was released on 2005-12-05.  This version is much cooler than the previous one because you don't have to patch PostgreSQL nor PHP sources -- actually, you don't even need those sources, so it's much easier to install than the previous 1.0 version.  This is the first release since I (Álvaro Herrera) took maintainership of PL/php.
25 1
26 3 Álvaro Herrera
== Available Documentation ==
27 1
28 14 Álvaro Herrera
Please see the [wiki:InstallDocs PL/php Installation procedures].
29 5 Álvaro Herrera
30 9 Álvaro Herrera
Before you can use PL/php, you need to [wiki:CreateLang create the language] in the database.  (In PostgreSQL 8.0 you need [wiki:CreateLang80 these instructions instead]).
31
32 1
Usage Documentation: [wiki:Documentation PL/php User Guide]
33
34 18 Álvaro Herrera
== Gotchas ==
35
36 21 bford -
The current design of PL/php is not really very portable, as it depends on the Apache PHP SAPI.  In practice, this means that PL/php is not very likely to compile or run on non-Linux platforms, or even on non-stock Linux platforms.  Please see the [http://lists.commandprompt.com/pipermail/plphp/ mailing list archives].
37 18 Álvaro Herrera
38 15 bford -
== Support == 
39
40 20 bford -
You can join the [http://lists.commandprompt.com/mailman/listinfo/plphp mailing list] .
41 16 bford -
42 17 bford -
Or you can reach us on Freenode at the '''#plphp''' channel.
43 15 bford -
44 1
== Downloads ==
45
46
Please refer to the [wiki:Downloads] page.
47 14 Álvaro Herrera
48
== Obsolete Documentation ==
49
50
[wiki:InstallDocs10 PL/php 1.0 Installation Procedures]