WikiStart » History » Version 24
Alexey Klyukin, 04/05/2007 03:06 AM
fixed a typo
1 | 4 | Álvaro Herrera | = PL/php Trac = |
---|---|---|---|
2 | 1 | ||
3 | 22 | Alexey Klyukin | 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. You can get the latest sources using anonymous svn access from http://projects.commandprompt.com/public/plphp/repo |
4 | 1 | ||
5 | 23 | Alexey Klyukin | ---- |
6 | |||
7 | 24 | Alexey Klyukin | PL/php 1.3.3 addresses the previous phpinfo() issue as well as a bunch of others, particulary improper handling of columns with numeric names, random backend crashes etc. This is the first PL/php version with PostgreSQL 8.2 support, and autoconf/configure scripts replacing the need to edit the project's Makefile directly. It still has issues with threaded PHP build, so I recommend not using --enable-maintainer-zts when configuring your PHP library. Except for this it successfully passed all regression tests with PostgreSQL 8.2 and PHP 5. |
8 | 23 | Alexey Klyukin | |
9 | ---- |
||
10 | |||
11 | 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: |
12 | |||
13 | {{{ |
||
14 | CREATE OR REPLACE FUNCTION test_func() RETURNS text $$ |
||
15 | |||
16 | RETURN phpinfo(); |
||
17 | |||
18 | $$ LANGUAGE 'plphp'; |
||
19 | }}} |
||
20 | |||
21 | It will result in an execution timeout. |
||
22 | |||
23 | We also do not currently support in/out parameters but it is on the list. |
||
24 | |||
25 | ---- |
||
26 | |||
27 | |||
28 | 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. |
29 | |||
30 | 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. |
||
31 | 1 | ||
32 | 3 | Álvaro Herrera | == Available Documentation == |
33 | 1 | ||
34 | 14 | Álvaro Herrera | Please see the [wiki:InstallDocs PL/php Installation procedures]. |
35 | 5 | Álvaro Herrera | |
36 | 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]). |
37 | |||
38 | 1 | Usage Documentation: [wiki:Documentation PL/php User Guide] |
|
39 | |||
40 | 18 | Álvaro Herrera | == Gotchas == |
41 | |||
42 | 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]. |
43 | 18 | Álvaro Herrera | |
44 | 15 | bford - | == Support == |
45 | |||
46 | 20 | bford - | You can join the [http://lists.commandprompt.com/mailman/listinfo/plphp mailing list] . |
47 | 16 | bford - | |
48 | 17 | bford - | Or you can reach us on Freenode at the '''#plphp''' channel. |
49 | 15 | bford - | |
50 | 1 | == Downloads == |
|
51 | |||
52 | Please refer to the [wiki:Downloads] page. |
||
53 | 14 | Álvaro Herrera | |
54 | == Obsolete Documentation == |
||
55 | |||
56 | [wiki:InstallDocs10 PL/php 1.0 Installation Procedures] |