Noob looking for PHP help

Momchil Ivanov slogster at gmail.com
Sun Apr 19 03:20:49 MSD 2009


На Saturday 18 April 2009 19:02:19 AMP Admin написа:
> To apply the patch run:
>
> #cat patch.php-fpm | patch -d php-5.2.9 -p1

you don't really need cat here:

patch -d php-5.2.9 -p1 < patch.php-fpm

>
> I use the following configuration options for 32 bit CentOS 5.2:
>
> '--enable-fastcgi' '--enable-fpm' '--enable-force-cgi-redirect'
> '--with-mcrypt' '--with-zlib' '--enable-mbstring' '--with-openssl'
> '--with-mysql' '--with-mysqli' '--with-mysql-sock' '--with-gd'
> '--enable-gd-native-ttf' '--with-bz2' '--with-curl'
> '--with-freetype-dir=/usr' '--with-jpeg-dir=/usr' '--with-pspell'
> '--with-sqlite' '--enable-pdo' '--enable-reflection' '--with-gettext'
> '--enable-soap' '--enable-dom' '--with-png-dir' '--with-mhash'
> '--with-mcrypt'

You should also use --prefix=/usr/local/php-fpm-5.2.9 or something else, just 
to have it in a separate directory, otherwise you mess up your system

Momchil
  





More information about the nginx mailing list