Sturbi's Home

  • Gallery
  • Modellflug
  • Datenschutz
  • Impressum

Blog

  • Allgemein (15)
    • Sprüche (6)
  • Angeln (3)
  • Computer (25)
    • Linux (16)
      • Nagios (5)
      • Nginx (4)
      • Postfix (3)
      • Subversion (1)
    • VMware (3)
    • Windows (9)
      • Powershell (8)
  • Fotografie (26)
  • Reise (8)
    • Hawaii (4)
    • Irland (1)
    • USA (5)
Wenn du etwas so machst,
wie du es seit zehn Jahren gemacht hast,
dann sind die Chancen groß,
daß du es falsch machst.

Charles F. Kettering amerikanischer Ingenieur * 29.08.1876, † 25.11.1958

PHP 5.3.3 PHP-FPM für Nginx compilieren

7. November 2010 by Sturbi Kategorie: Linux, Nginx

Nachdem ja wie angekündigt in PHP 5.3.3 FPM fest integriert ist, habe ich also meinen Server umgestellt.
PHP 5.3.3 herunterladen und dann geht irgendwie alles nach Standardprozedur ...

tar xvfz php-5.3.3.tar.gz
cd php-5.3.3
./configure --prefix=/usr/local --sysconfdir=/etc/php --enable-fpm --with-mcrypt --with-zlib --enable-mbstring --with-curl --disable-debug --disable-rpath --enable-inline-optimization --with-bz2 --with-zlib --enable-sockets --enable-sysvsem --enable-sysvshm --enable-pcntl --enable-mbregex --with-mhash --with-xsl --with-pcre-regex --with-mysqli --with-mysql --enable-exif --with-gd --with-ldap --with-pdo-mysql --with-bz2 --with-t1lib --with-jpeg-dir=/usr --with-png-dir=/usr --with-gettext
make
make install

Die notwendigen Anpassungen an der php-fpm.conf sind äquivalent eines gepatchten 5.2.
Gestartet wird der FPM Prozess dann über:

/usr/local/sbin/php-fpm

Was auffällt, das keine pear und pecl bei der Installation dabei sind. Ich habs dann irgendwie doch noch von Hand nachinstalliert bekommen.

cd pear/
phar install-pear-nozlib.phar
php fetch.php
make install-su
phar go-pear.phar
phar extract -f go-pear.phar

© 2026 · Sturbi's Home