Recent Blogs Posts

  1. [en] PHP upgrade - 5.3.5

    On 6 of january PHP 5.3.5 was released:

    The PHP development team would like to announce the immediate availability of PHP 5.3.5.This release resolves a critical issue, reported as PHP bug #53632, where conversions from string to double might cause the PHP interpreter to hang on systems using x87 FPU registers.

    The problem is known to only affect x86 32-bit PHP processes, regardless of whether the system hosting PHP is 32-bit or 64-bit. You can test whether your system is
    ...
    Tag-uri: php, upgrade
    Categorie
    Uncategorized
  2. [EN] PHP-FPM - libevent 1.4.11 could not be found

    When trying to install PHP-FPM, in case you get the following error while configuring
    Cod:
    checking for libevent >= 1.4.11 install prefix... no
    configure: error: libevent >= 1.4.11 could not be found
    then do the following (Source):
    Cod:
    export LE_VER=1.4.12-stable
    wget "http://www.monkey.org/~provos/libevent-$LE_VER.tar.gz"
    tar -zxvf "libevent-$LE_VER.tar.gz"
    cd "libevent-$LE_VER"
    ./configure && make
    DESTDIR=$PWD make install
    export LIBEVENT_SEARCH_PATH="$PWD/usr/local"
    ...
    Tag-uri: error, fpm, libevent, php
    Categorie
    Uncategorized
  3. [EN] Apache and PHP modules optimization...

    Please note that from my point of view this is extreme modules removal and you should check it and test it before putting it on production systems.

    This being said, let's go to the fun part.

    1. Apache optimization
    I used the following configure command in order to install Apache 2.2.15
    Cod:
    ./configure --enable-so --with-mpm=worker --enable-rewrite --disable-userdir --disable-cgi --disable-cgid --disable-autoindex --disable-status --disable-version --prefix=/usr/local/apache2/
    ...
    Tag-uri: apache, optimization, php
    Categorie
    Uncategorized
  4. [EN] Optimizing VBulletin - php code