Re: Compile PHP 5.3.1 - Unknown configure option

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Dec 10, 2009, at 04:38, Mattias Tengmo wrote:

> Hi, I've compiled PHP with these options before:
> 
> ./configure --prefix=/usr --datadir=/usr/share/php5
> --sysconfdir=/etc/php5 --enable-fastcgi --enable-fpm
> --disable-short-tags --enable-exif --enable-intl --enable-mbstring
> --enable-soap --enable-zip --with-bz2=/usr --with-curl=/usr/bin
> --with-openssl-dir=/usr --with-zlib-dir=/usr --with-gd
> --with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib-dir=/usr
> --with-freetype-dir=/usr --with-imagick --with-mcrypt=/usr
> --with-mysqli=mysqlnd --with-mysql=mysqlnd --disable-pdo
> --disable-debug --disable-rpat --with-iconv-dir=/usr --with-pear
> --enable-suhosin --with-xpm-dir=/usr --with-fpm --with-libevent=/usr
> --disable-safe-mode --enable-apc --disable-magic-quotes
> 
> But today I wanted to install PHP 5.3.1 on my server (Debian).
> 
> The configuring doesn't throw any error, just this notice at the end:
> 
> "Notice: Following unknown configure options were used:
> 
> --enable-fastcgi

As of PHP 5.3.0, the CGI module is now always FastCGI; there is no "normal" CGI anymore.

> --enable-fpm

Since FPM is not a standard part of PHP, you should ask its developer separately.

> --with-imagick

imagick is in PECL.

http://pecl.php.net/package/imagick

> --disable-rpat

Perhaps you meant --disable-rpath

> --enable-suhosin
> --with-fpm

Same comment as above about FPM. As far as I know, to enable the suhosin patch, you just need to apply it to the PHP sources; no configure argument is needed.

> --with-libevent=/usr
> --enable-apc"

These are in PECL.

http://pecl.php.net/package/libevent

http://pecl.php.net/package/apc

> Can someone please help me with the correct config options?
> 
> I have patched /php-5.3.1 with php-fpm-0.6~5.3.1 and
> suhosin-patch-5.3.1-0.9.8, not that it should mather, the config
> options should still exist?
> Also tried without "--with-fpm" which is depricated?



[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux