Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
| server:php [2011/02/10 15:33] – swordfish | server:php [2025/01/25 16:56] (aktuell) – Externe Bearbeitung 127.0.0.1 | ||
|---|---|---|---|
| Zeile 7: | Zeile 7: | ||
| <code bash> | <code bash> | ||
| cd /opt | cd /opt | ||
| - | wget http://monkey.org/~provos/ | + | wget http://cloud.github.com/downloads/ |
| - | tar xzf libevent-2.0.10-stable.tar.gz | + | tar xzf libevent-2.0.21-stable.tar.gz |
| - | cd libevent-2.0.10-stable | + | cd libevent-2.0.21-stable |
| ./configure | ./configure | ||
| make | make | ||
| Zeile 18: | Zeile 18: | ||
| <code bash> | <code bash> | ||
| cd /opt | cd /opt | ||
| - | wget http:// | + | wget http:// |
| - | tar xzf php-5.3.5.tar.gz | + | tar xzf php-5.3.6.tar.gz |
| - | cd php-5.3.5 | + | cd php-5.3.6 |
| </ | </ | ||
| ===== Patch ===== | ===== Patch ===== | ||
| Zeile 32: | Zeile 32: | ||
| Standart: | Standart: | ||
| <code bash> | <code bash> | ||
| - | ./configure --enable-fpm --with-libevent --enable-mbstring=all --enable-mbregex --with-pcre-regex --with-mysql --with-mysqli --with-mcrypt --with-curl --without-sqlite3 --without-mm --with-gd --enable-bcmath --with-zlib --with-pear --with-gettext --enable-ftp --enable-soap --with-openssl --disable-pdo --disable-phar --with-freetype-dir=/ | + | ./configure --enable-fpm --with-libevent --enable-mbstring=all --enable-mbregex --with-pcre-regex --with-mysql --with-mysqli --with-mcrypt --with-curl --without-sqlite3 --without-mm --with-gd --enable-bcmath --with-zlib --with-pear --with-gettext --enable-ftp --enable-soap --with-openssl --disable-pdo --disable-phar --with-freetype-dir=/ |
| </ | </ | ||
| Abigor: | Abigor: | ||
| <code bash> | <code bash> | ||
| - | ./configure --enable-fpm --enable-imap --enable-intl --with-imap-ssl --with-libevent --enable-mbstring=all --enable-mbregex --with-pcre-regex --with-mysql --with-mysqli --with-mcrypt --with-curl --without-sqlite3 --without-mm --with-gd --enable-bcmath --with-kerberos --with-zlib --with-pear --with-dom --with-imap --with-iconv --with-tidy --with-mime-magic --with-gettext --enable-ftp --enable-soap --with-openssl --disable-pdo --disable-phar --with-freetype-dir=/ | + | ./configure --enable-fpm --enable-imap --enable-intl --with-imap-ssl --with-libevent --enable-mbstring=all --enable-mbregex --with-pcre-regex --with-mysql --with-mysqli --with-mcrypt --with-curl --without-sqlite3 --without-mm --with-gd --enable-bcmath --with-kerberos --with-zlib --with-pear --with-dom --with-imap --with-iconv --with-tidy --with-mime-magic --with-gettext --enable-ftp --enable-soap --with-openssl --disable-pdo --disable-phar --with-freetype-dir=/ |
| </ | </ | ||
| Thor und Fosta: | Thor und Fosta: | ||
| <code bash> | <code bash> | ||
| - | ./configure --enable-mbstring=all --enable-mbregex --enable-bcmath --enable-ftp --enable-soap --enable-zip --enable-fpm --disable-pdo --disable-phar --with-pcre-regex --with-mysql --with-mysqli --with-mcrypt --with-curl --with-gd --with-zlib --with-pear --with-gettext --with-openssl --without-sqlite3 --without-mm --with-freetype-dir=/ | + | ./configure --enable-mbstring=all --enable-mbregex --enable-bcmath --enable-ftp --enable-soap --enable-zip --enable-fpm --disable-pdo --disable-phar --with-pcre-regex --with-mysql --with-mysqli --with-mcrypt --with-curl --with-gd --with-zlib --with-pear --with-gettext --with-openssl --without-sqlite3 --without-mm --with-freetype-dir=/ |
| </ | </ | ||
| Snotra: | Snotra: | ||
| <code bash> | <code bash> | ||
| - | ./configure --enable-mbstring=all --enable-mbregex --enable-bcmath --enable-ftp --enable-soap --enable-zip --enable-fpm --enable-sockets --disable-phar --with-libevent --with-pcre-regex --with-mysql --with-mysqli --with-mcrypt --with-curl --with-gd --with-zlib --with-pear --with-gettext --with-openssl --with-pgsql --without-mm --with-freetype-dir=/ | + | ./configure --enable-mbstring=all --enable-mbregex --enable-bcmath --enable-ftp --enable-soap --enable-zip --enable-fpm --enable-sockets --disable-phar --with-libevent --with-pcre-regex --with-mysql --with-mysqli --with-mcrypt --with-curl --with-gd --with-zlib --with-pear --with-gettext --with-openssl --with-pgsql --without-mm --with-freetype-dir=/ |
| </ | </ | ||
| Vali: | Vali: | ||
| <code bash> | <code bash> | ||
| - | ./configure --enable-mbstring=all --enable-mbregex --enable-force-cgi-redirect --with-pcre-regex --with-mysql --with-mysqli --with-mcrypt --with-curl --without-sqlite3 --without-mm --enable-fastcgi --with-gd --enable-bcmath --with-zlib --with-pear --with-gettext --enable-ftp --with-openssl --with-imap --with-kerberos --with-imap-ssl --with-freetype-dir=/ | + | ./configure --enable-mbstring=all --enable-mbregex --enable-force-cgi-redirect --with-pcre-regex --with-mysql --with-mysqli --with-mcrypt --with-curl --without-sqlite3 --without-mm --enable-fastcgi --with-gd --enable-bcmath --with-zlib --with-pear --with-gettext --enable-ftp --with-openssl --with-imap --with-kerberos --with-imap-ssl --with-freetype-dir=/ |
| </ | </ | ||
| Heimdallx1: | Heimdallx1: | ||
| <code bash> | <code bash> | ||
| - | ./configure --enable-fpm --with-libevent --enable-mbstring=all --enable-calendar --enable-mbregex --with-pcre-regex --with-mysql --with-mysqli --with-mcrypt --with-curl --without-sqlite3 --without-mm --with-gd --enable-bcmath --with-zlib --with-pear --with-gettext --enable-ftp --enable-soap --with-openssl --disable-pdo --disable-phar --with-freetype-dir=/ | + | ./configure --enable-fpm --with-libevent --enable-mbstring=all --enable-calendar --enable-mbregex --with-pcre-regex --with-mysql --with-mysqli --with-mcrypt --with-curl --without-sqlite3 --without-mm --with-gd --enable-bcmath --with-zlib --with-pear --with-gettext --enable-ftp --enable-soap --with-openssl --disable-pdo --disable-phar --with-freetype-dir=/ |
| </ | </ | ||
| MS-SQL: | MS-SQL: | ||
| <code bash> | <code bash> | ||
| - | ./configure --enable-fpm --with-libevent --enable-mbstring=all --enable-mbregex --with-pcre-regex --with-mysql --with-mysqli --with-mcrypt --with-curl --without-sqlite3 --without-mm --with-gd --enable-bcmath --with-zlib --with-pear --with-gettext --enable-ftp --enable-soap --with-openssl --disable-pdo --disable-phar --with-mssql --with-freetype-dir=/ | + | ./configure --enable-fpm --with-libevent --enable-mbstring=all --enable-mbregex --with-pcre-regex --with-mysql --with-mysqli --with-mcrypt --with-curl --without-sqlite3 --without-mm --with-gd --enable-bcmath --with-zlib --with-pear --with-gettext --enable-ftp --enable-soap --with-openssl --disable-pdo --disable-phar --with-mssql --with-freetype-dir=/ |
| </ | </ | ||
| Zeile 78: | Zeile 78: | ||
| tar xzf xcache-1.3.1.tar.gz | tar xzf xcache-1.3.1.tar.gz | ||
| cd xcache-1.3.1 | cd xcache-1.3.1 | ||
| - | / | + | / |
| - | ./configure --enable-xcache --enable-xcache-optimizer --with-php-config=/ | + | ./configure --enable-xcache --enable-xcache-optimizer --with-php-config=/ |
| make | make | ||
| make install | make install | ||
| Zeile 89: | Zeile 89: | ||
| tar xzf igbinary-1.1.1.tar.gz | tar xzf igbinary-1.1.1.tar.gz | ||
| cd igbinary-1.1.1 | cd igbinary-1.1.1 | ||
| - | / | + | / |
| - | ./configure --with-php-config=/ | + | ./configure --with-php-config=/ |
| make | make | ||
| make install | make install | ||
| Zeile 101: | Zeile 101: | ||
| tar -zxf pecl_http-1.7.0.tgz | tar -zxf pecl_http-1.7.0.tgz | ||
| cd pecl_http-1.7.0 | cd pecl_http-1.7.0 | ||
| - | / | + | / |
| - | ./configure --with-php-config=/ | + | ./configure --with-php-config=/ |
| make | make | ||
| make install | make install | ||
| Zeile 116: | Zeile 116: | ||
| wget http:// | wget http:// | ||
| patch -p0 < ssh2-php53.patch | patch -p0 < ssh2-php53.patch | ||
| - | / | + | / |
| - | ./configure --with-php-config=/ | + | ./configure --with-php-config=/ |
| make | make | ||
| make install | make install | ||
| Zeile 128: | Zeile 128: | ||
| tar -zxf memcache-2.2.6.tgz | tar -zxf memcache-2.2.6.tgz | ||
| cd memcache-2.2.6 | cd memcache-2.2.6 | ||
| - | / | + | / |
| - | ./configure --with-php-config=/ | + | ./configure --with-php-config=/ |
| make | make | ||
| make install | make install | ||
| Zeile 140: | Zeile 140: | ||
| tar -zxf memcached-1.0.2.tgz | tar -zxf memcached-1.0.2.tgz | ||
| cd memcached-1.0.2 | cd memcached-1.0.2 | ||
| - | / | + | / |
| - | ./configure --with-php-config=/ | + | ./configure --with-php-config=/ |
| make | make | ||
| make install | make install | ||
| Zeile 152: | Zeile 152: | ||
| tar xzf php_rrdtool.tar.gz | tar xzf php_rrdtool.tar.gz | ||
| cd / | cd / | ||
| - | / | + | / |
| - | ./configure --with-rrdtool=/ | + | ./configure --with-rrdtool=/ |
| make | make | ||
| make install | make install | ||
| Zeile 164: | Zeile 164: | ||
| tar -zxf intl-1.1.2.tgz | tar -zxf intl-1.1.2.tgz | ||
| cd / | cd / | ||
| - | / | + | / |
| - | ./configure --with-php-config=/ | + | ./configure --with-php-config=/ |
| make | make | ||
| make install | make install | ||
| Zeile 177: | Zeile 177: | ||
| tar xzf php-5.2.17.tar.gz | tar xzf php-5.2.17.tar.gz | ||
| cd php-5.2.17 | cd php-5.2.17 | ||
| + | </ | ||
| + | |||
| + | <code bash> | ||
| + | wget http:// | ||
| + | gunzip php-5.2.17-fpm-0.5.14.diff.gz | ||
| + | patch -p 1 -i php-5.2.17-fpm-0.5.14.diff | ||
| + | ./buildconf --force | ||
| + | mkdir fpm-build && cd fpm-build | ||
| </ | </ | ||
| ===== Patch ===== | ===== Patch ===== | ||
| <code bash> | <code bash> | ||
| - | wget http:// | + | wget http:// |
| - | gunzip | + | gunzip |
| - | patch -p 1 -i 5.3.5-patch-5.2.17-0.9.7.patch | + | patch -p 1 -i suhosin-patch-5.2.16-0.9.7.patch |
| </ | </ | ||
| Zeile 190: | Zeile 198: | ||
| <code bash> | <code bash> | ||
| ./configure --enable-mbstring=all --enable-mbregex --enable-force-cgi-redirect --with-pcre-regex --with-mysql --with-mysqli --with-mcrypt --with-curl --without-sqlite --without-mm --enable-fastcgi --with-gd --enable-bcmath --with-zlib --with-pear --with-gettext --enable-ftp --enable-soap --with-openssl --with-freetype-dir=/ | ./configure --enable-mbstring=all --enable-mbregex --enable-force-cgi-redirect --with-pcre-regex --with-mysql --with-mysqli --with-mcrypt --with-curl --without-sqlite --without-mm --enable-fastcgi --with-gd --enable-bcmath --with-zlib --with-pear --with-gettext --enable-ftp --enable-soap --with-openssl --with-freetype-dir=/ | ||
| + | </ | ||
| + | |||
| + | Idun und Hoedur: | ||
| + | <code bash> | ||
| + | | ||
| </ | </ | ||
| Zeile 243: | Zeile 256: | ||
| <code bash> | <code bash> | ||
| cd /opt | cd /opt | ||
| - | wget http:// | + | wget http:// |
| - | tar -zxf pecl_http-1.6.6.tgz | + | tar -zxf pecl_http-1.7.0.tgz |
| - | cd pecl_http-1.6.6 | + | cd pecl_http-1.7.0 |
| phpize | phpize | ||
| ./configure --with-php-config=/ | ./configure --with-php-config=/ | ||
| Zeile 265: | Zeile 278: | ||
| ===== memcached ===== | ===== memcached ===== | ||
| <code bash> | <code bash> | ||
| - | apt-get install php5-dev git-core | ||
| - | cp -r / | ||
| - | cp -r / | ||
| cd /opt | cd /opt | ||
| - | git-clone git://github.com/andreiz/php-memcached.git | + | wget http://pecl.php.net/get/memcached-1.0.2.tgz |
| - | cd php-memcached/ | + | tar -zxf memcached-1.0.2.tgz |
| - | phpize | + | cd memcached-1.0.2 |
| + | / | ||
| ./configure --with-php-config=/ | ./configure --with-php-config=/ | ||
| make | make | ||
