Musings on PHP

Lapo Luchini lapo@lapo.it
Fri Jan 6 12:23:00 GMT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Max Bowsher wrote:
> I personally have no need for PHP, but I know it's a very widely
> used piece of software.
>
> After John Morrison's recent mention of PHP in passing, I decided
> to do a quick estimate of how difficult getting PHP working on
> Cygwin would be. To cut a long story short, I got a bit carried
> away, and now have a functional apache2 php5 module.
In case you do decide to package it, please enable also FastCGI, it
can be very handy with lighttpd =)
And, if you don't see any reason not to, please do include
- --enable-zend-multibyte option: sadly still undocumented[1], but
actually works very well (I use it in production system both Windows
and FreeBSD since a long time), has the nice property to let PHP
understand automatically the format of UTF-x .php files and thus avoid
many localitazion problems.

[1] except here: http://bugs.php.net/bug.php?id=22108
> PHP definitely needs its postgresql support available to be useful
> most non-trivial application. If I want to avoid creating a hard
> dependency on the postgresql package, the PHP pgsql extension needs
>  to be built as a shared library.
I'd go down this road, but for the main reason that I do not need
pgsql, and if it is so much more difficult, if I was the mantainer I'd
probably go for the hard dependency and use the good old excuse that
disk space is cheap ;-)

    Lapo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQIcBAEBAgAGBQJDvmFEAAoJELBiMTth2oCDPOkP/3cNOmWpB/XdZ2GAvoMeWSk/
fQ6SXDZznzHmKScjoalBIyPB6CkYW2v9txNdboJ18cgW2Bt0ppa55ESERGaa4r4F
b6OeQc6oeZt6+RCXYhXCZGTF3/eTwUhrAQkpeYgznlOMmEDtjP4Jg42CY7pg04MH
HnMba4f95iJg7OBP2f3yLeRyiBO0ekEKmoGqTDzBOyI87IKlO5ZK7uZxzM5/DAql
GgpVvjhqwkTEPYzVGgfTv6UEU86R8xIVYRrPOXwQ6nRvMRpILb4dDGA+j4/QZ9EI
TUyD7gX8BNOstaDVlw5/cgWIGtPPfl1NyaX1XJeSjMfi1r/dPANg1CV+VfSq4vlr
i6aidk/vKleNW4d/JeCH5qnTeOrn1fJ1PIUUqPh/RLZ/oqc4vV4/BU4jvpZtgLUb
rZixax5Eh+znhUlkns35YMCGk2Ko/aeFTw0am1eYBeBS8PidtU/tbOeO0dXET22m
d3YYkBXn4UmEtr2x7DI9mggsMQ4pZ3VYoOCYcl7QMFo7EdTxsvdBA2YcHRyxAOPb
hNJ1N+gi3l47JX/QGJtXKLlFmaN++4wBgHdjuv7/1dc7eGC1uR7ecYj2WviFWKmW
pzoH2EOjNbJaw4BTYzrRA8FLUXw/+FsRn+RRhXU+0lV80s/ePJItvpKYoKd11cd7
t20fzn2PgqxTTFZnxqk9
=GgJo
-----END PGP SIGNATURE-----




More information about the Cygwin-apps mailing list