Nom de l’auteur/autrice :PJ Mignerey

php 5.4 sous debian 8 ( jessie )

Parfois on a le besoin de rester sous d’ancienne version de php, sans pour autant ne pas profiter d’une version plus récente de debian donc : 1- Ajout des clé suivantes : wget dotdeb.org/dotdeb.gpg apt-key add dotdeb.gpg 2- Ajout dans sources.list : deb http://dotdeb.infogerance-linux.fr/ wheezy all deb http://debian.infogerance-linux.fr wheezy main 3- Création du fichier php54.pref …

php 5.4 sous debian 8 ( jessie ) Lire la suite »

php 5.2.17 en php-fpm

Sous linux debian 7 64bits aptitude install patch make gcc libxml2-dev pkg-config libssl-dev libcurl3-dev libjpeg-dev libpng-dev libc-client-dev libmcrypt-dev libmhash-dev libmysql++-dev libxslt-dev libltdl7-dev wget http://museum.php.net/php5/php-5.2.17.tar.bz2 wget http://php-fpm.org/downloads/php-5.2.17-fpm-0.5.14.diff.gz https://bugs.php.net/patch-display.php?bug_id=54736&patch=debian_patches_disable_SSLv2_for_openssl_1_0_0.patch&revision=1305414559&download=1 patch php-${version}/ext/openssl/xp_ssl.c debian_patches_disable_SSLv2_for_openssl_1_0_0.patch.patch.txt ln -sf /usr/lib/libc-client.a /usr/lib/x86_64-linux-gnu/ ln -sf /usr/lib/libc-client.so /usr/lib/x86_64-linux-gnu/ tar -xvzf php-5.2.17.tar.bz2 gzip -cd php-5.2.17-fpm-0.5.14.diff.gz | patch -d php-5.2.17 -p1 cd php-5.2.17 ./configure –with-libdir=lib/x86_64-linux-gnu –enable-fastcgi –enable-fpm …

php 5.2.17 en php-fpm Lire la suite »

Self signed certificate, fast and easy | my repository

Use certtool instead of openssl. It is less flexible but much more user friendly.1. Installation:Certtool is part of GnuTLS. On debian-based distributions you have to install the gnutls-bin package.2. Create a private key:# certtool -p –outfile server.key.pem3. Generate the self signed certificate:# certtool -s –load-privkey server.key.pem –outfile server.crt.pemYou will get a prompt to enter various …

Self signed certificate, fast and easy | my repository Lire la suite »

Retour en haut