PHP PCRE

2005-07-15 Thread Myron Turner
I just installed FreeBSD 5.4 with PHP 5.0.3 for the express purpose of 
testing out a web-based application.


I was wondering what the rationale is for excluding PCRE from the current 
php distribution.As I understand it, the PCRE extensions are included 
by default  in PHP 5.  This suggests that the FreeBSD  organization opted 
not to include these.  A search of mailing lists shows that  people have 
been having problems because of this.


For me, the solution is not to install a rebuilt php on my test machine, 
because I have to have the assurance that my application will run on any 
FreeBSD system.


Thanks,

Myron Turner

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: PHP PCRE

2005-07-15 Thread Erik Nørgaard

Myron Turner wrote:
I just installed FreeBSD 5.4 with PHP 5.0.3 for the express purpose of 
testing out a web-based application.


I was wondering what the rationale is for excluding PCRE from the 
current php distribution.As I understand it, the PCRE extensions are 
included by default  in PHP 5.  This suggests that the FreeBSD  
organization opted not to include these.  A search of mailing lists 
shows that  people have been having problems because of this.


For me, the solution is not to install a rebuilt php on my test machine, 
because I have to have the assurance that my application will run on any 
FreeBSD system.


On FreeBSD you are given the option of installing a pure php with no 
extra bells or whistles. Then you can add the extensions you neeed using 
the php5-extensions metaport, which really just installs individual 
modules such as devel/php5-pcre.


And, AFIAK, installing extensions afterwards does not require that you 
rebuild php5.


I have had problems with this too - usually they amounted to forgetting 
about the extensions, because back then when I first used it, extensions 
was installed with the php base (I think this was with php 4.1?).


As for reasoning: For security reasons or performance it may be wise to 
exclude what you don't use. pcre is not the fastest thing AFAIK.


Now, I must add the disclaimer that I'm using php4

Cheers, Erik

--
Ph: +34.666334818   web: http://www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]