1 |
After much work and a goodly deal of initial testing, PHP5 is ready for |
2 |
~arch. Special thanks to Stuart <stuart@g.o> (for the wonderfully |
3 |
improved eclasses, now half the size and much simpler to grok) and Tal |
4 |
<coredumb@g.o> (for the initial PHP5 work). |
5 |
|
6 |
The great majority of PHP code out there should run perfectly fine on |
7 |
PHP5, without any serious problems. |
8 |
|
9 |
See http://www.php.net/manual/en/migration5.php for a complete overview |
10 |
of the upstream migration documentation. |
11 |
|
12 |
I've placed PHP5 into ~x86 only, all other -arch flags have been removed |
13 |
from it. Arches interested in PHP5 have a number of dependencies ahead |
14 |
of them, the majority of which are in the tree and source based. I've |
15 |
also done some research, and preemptively use.mask'd a number of the |
16 |
USE flags that related to binary packages on arches where the packages |
17 |
are not available to the best of my research. |
18 |
|
19 |
For those that don't want PHP5 at this time, make use of your |
20 |
/etc/portage/package.mask, and mask out: |
21 |
>=dev-php/php-5* |
22 |
>=dev-php/mod_php-5* |
23 |
>=dev-php/php-cgi-5* |
24 |
|
25 |
I've also pushed out PHP4.3.9rc1 to all currently supported PHP ~arches, |
26 |
as it contains fixes for a number of annoying upstream bugs. We intend |
27 |
to continue supporting the PHP4.3 series for as long as upstream still |
28 |
supports it, and then probably a while afterward to allow for migration. |
29 |
|
30 |
PHP4 and PHP5 are mutually incompatible, and for the most part cannot |
31 |
peacefully co-exist even if slotted. |
32 |
|
33 |
If you're anxious to try PHP5: |
34 |
1. Unmerge all compiled PHP extensions you have installed. |
35 |
2. 'emerge unmerge php mod_php php-cgi' # out with the old |
36 |
3. 'emerge php mod_php php-cgi' # in with the new |
37 |
|
38 |
Update your /etc/conf.d/apache2 (the defined flag has changed to 'PHP5'). |
39 |
Restart apache2. |
40 |
|
41 |
Future plans for PHP being in arch: |
42 |
- Support for compiled PHP extensions/PECL (in process) |
43 |
- 2+ months of testing in ~arch |
44 |
|
45 |
If you find something that doesn't work right under PHP5, but did |
46 |
before, please firstly review the URL above, then file a bug to |
47 |
php-bugs@g.o. User emails are not eligible at this time, for |
48 |
tracking reasons. If you include a patch to fix the issue as well, |
49 |
it would be greatly appreciated. |
50 |
|
51 |
The PHP herd would also like to take the chance to put out a request for |
52 |
volunteers interested in working with them, to deal primarily with PECL |
53 |
and PEAR, as well as fixing packages to work with PHP5 as required (if |
54 |
at all). Email robbat2@g.o with your information/skillset and |
55 |
some initial work for consideration. Specify 'PHP Developer' as the |
56 |
subject line |
57 |
|
58 |
-- |
59 |
Robin Hugh Johnson |
60 |
E-Mail : robbat2@g.o |
61 |
GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85 |