mike Wrote:
-------------------------------------------------------
> well yes, it is nit picking - of course, if you
> give it the other fpm
> options at configure time those are invalid too...
That's incorrect. Run
# ./configure --enable-fpm --enable-fastcgi
on a patched php-5.3.0 and it will kick out only "--enable-fastcgi" as an unrecognized option.
This is what I get from that command:
Generating files
updating cache ./config.cache
creating ./config.status
creating php5.spec
creating main/build-defs.h
creating scripts/phpize
creating scripts/man1/phpize.1
creating scripts/php-config
creating scripts/man1/php-config.1
creating sapi/cli/php.1
creating sapi/cgi/fpm/fpm_autoconf.h
creating sapi/cgi/fpm/php-fpm.conf
creating sapi/cgi/fpm/php-fpm
creating main/php_config.h
creating main/internal_functions.c
creating main/internal_functions_cli.c
+--------------------------------------------------------------------+
| License: |
| This software is subject to the PHP License, available in this |
| distribution in the file LICENSE. By continuing this installation |
| process, you are bound by the terms of this license agreement. |
| If you do not agree with the terms of this license, you must abort |
| the installation process at this point. |
+--------------------------------------------------------------------+
Thank you for using PHP.
Notice: Following unknown configure options were used:
--enable-fastcgi
Check './configure --help' for available options
> so just configure
> --enable-fastcgi a requisite for compilation of
> php-fpm :)
This is an unprofessional way to handle this. The problem is, in this case, that ./configure works fine without the "--enable-fastcgi" option but then compilation fails and it's not immediately obvious as to why that is. Those of us who actually read the documentation *know* that "--enable-fastcgi" is no longer a valid option as of 5.3.0. It may not be high priority but it's a bug and it should be fixed.
>
> there -is- a standalone version of (php-)fpm in
> the works. it still
> requires compilation against php sources, but it
> does not alter php
> and is no longer a patch. means a lot easier to
> distribute as well
> (can compile against a vanilla 5.2.10 tree for
> example and then
> distribute for your specific distribution/arch)
>
> more details on that soon though.
>
> On Wed, Jul 15, 2009 at 9:43 PM, Jim Ohlstein
> wrote:
> >
> > php 5.3.0 with the php-fpm patch will not
> compile without "--enable-fastcgi" being specified
> in the ./configure command. My understanding is
> that this is no longer an option as php 5.3.0
> cannot be compiled *without* fastcgi support and
> so "--enable-fastcgi" should not be required.
> >
> > Posted at Nginx Forum:
> http://forum.nginx.org/read.php?3,4090,4090#msg-40
> 90
> >
> >
--
Jim Ohlstein