4259 links
  • Arnaud's links
  • Home
  • RSS Feed
  • Tag cloud
  • Login
search: tag:php — newest first
  • Performance (Symfony 3.4 Docs)
    December 17, 2017 - permalink - http://symfony.com/app.php/doc/3.4/performance.html
    perf php symfony
  • Symfony 4 : un état des lieux avant la sortie | Integral Service
    November 30, 2017 - permalink - https://www.integral-service.fr/symfony-4-un-etat-des-lieux-avant-la-sortie
    php symfony
  • library/php - Docker Hub

    Quand on utilise une image comme celle là, il ne faut pas faire n'importe quoi comme installer des packages php5-extensions, ce n'est pas du tout prévu... Il faut suivre la doc et utiliser les outils mis à dispo sinon on se retrouve un Dockerfile qui n'a aucun sens...

    Dans ma todo : migrer ces "choses" pour utiliser une image debian de base

    September 6, 2017 - permalink - https://hub.docker.com/_/php/
    docker php
  • How to Set external Parameters in the Service Container (2.7)

    En gros pour dockeriser une app symfony pre 3.2 (ET 2.7 minimum) :
    - il faut utiliser des env var speciales : SYMFONY__*
    - faire en sorte que apache les passent en contexte à l'application (PassEnv)
    - Bien sur il faut que tout ça soit dynamique... (entrypoint, sed conf apache..)

    sed -i "s/PLACEHOLDER/PassEnv $(env|grep -Po 'SYMFONY__[^=]+'| paste -s -d' ')/" test.file

    A partir de symfony 3.2 c'est beaucoup plus facile car les variables d'environnements sont directement accessibles dans les fichiers de configuration

    August 18, 2017 - permalink - http://symfony.com/doc/2.7/configuration/external_parameters.html
    docker env php symfony
  • phpredis/cluster.markdown at develop · phpredis/phpredis · GitHub

    redis cluster php session handler

    August 18, 2017 - permalink - https://github.com/phpredis/phpredis/blob/develop/cluster.markdown#session-handler
    cluster php redis
  • Note: symfony mail

    $message = \Swift_Message::newInstance()
            ->setSubject('Hello Email')
            ->setFrom('toto@gmail.com')
            ->setTo('toto@gmail.com')
            ->setBody('toto',
                'text/html'
            )
        ;
        $this->get('mailer')->send($message);

    May 23, 2017 - permalink - https://links.infomee.fr/shaare/nZlPeA
    mail php symfony
  • GitHub - hautelook/AliceBundle: A Symfony bundle to manage fixtures with Alice and Faker.
    May 10, 2017 - permalink - https://github.com/hautelook/AliceBundle
    fixture php symfony
  • GitHub - fzaninotto/Faker: Faker is a PHP library that generates fake data for you
    May 10, 2017 - permalink - https://github.com/fzaninotto/Faker
    data faker fixture php test
  • Symfony and Monolog, how use Processor in your project: a practical example « Stefano Alletti
    March 24, 2017 - permalink - https://stefanoalletti.wordpress.com/2017/03/09/symfony-and-monolog-how-use-processor-in-your-project/
    log monolog php symfony
  • thomasbachem/php-short-array-syntax-converter

    Pratique

    September 15, 2015 - permalink - https://github.com/thomasbachem/php-short-array-syntax-converter
    php
  • PECL :: Package :: APM

    Une lib pour gérer l'envoi de metric depuis php

    June 2, 2015 - permalink - https://pecl.php.net/package/APM
    php statsd
  • PHP gc_maxlifetime

    Sur une debian wheezy, php va "nettoyer" régulièrement le dossier qui contient les fichiers de sessions grâce à un cron dans /etc/cron.d/

    Toutes les 30 minutes il va vérifier qu'aucun fichier n'est plus vieux que le gc_maxlifetime (php.ini) qui par défaut est de 24 minutes.

    24 minutes !! Ne vous étonnez pas si vous de restez pas connecté à vos applications même en ayant coché la petite case car avec ce comportement par défaut, si votre session n'est pas accédée dans un délai de 24 minutes, elle sera supprimée par le prochain passage du cron..

    January 9, 2015 - permalink - https://links.infomee.fr/shaare/os-nRg
    debian php
  • Les sessions
    January 1, 2015 - permalink - http://www.apprendre-php.com/tutoriels/tutoriel-14-les-sessions.html
    php sessions
  • Running mod_fastcgi and PHP-FPM on Debian 7 (Wheezy) with Apache - Linode Guides & Tutorials
    October 28, 2014 - permalink - https://www.linode.com/docs/websites/apache/running-fastcgi-php-fpm-on-debian-7-with-apache
    apache fpm php
  • Connaitre les versions des extensions php
    "; echo phpversion($ext); echo "\n"; } ?>
    July 29, 2014 - permalink - https://links.infomee.fr/shaare/vo6lAQ
    ext php
  • ▶ Take a walk on the OPS side - Baptiste Dupain - PHP Tour Lyon 2014 #phptour - YouTube

    conf ops m6web bien cool!

    sysdig

    curl

    graphite/statsd

    collectd/sensu/seyren

    ELK(Elasticsearch, Logstash, Kibana)
    Elasticsearch :
    - sense(plugin chrome)
    - kopf(plugin coté serv Elasticsearch)

    jmeter/gatling
    siege/wrk
    tsung
    gor
    blitz.io, blazemater, neotys(saas)

    via skunnyk

    July 17, 2014 - permalink - https://www.youtube.com/watch?v=O03GflHG-WU&feature=youtu.be
    conf devops ops php
  • Stop abusing arrays in PHP | Nomad Software
    July 3, 2014 - permalink - http://nomad.so/2014/06/stop-abusing-arrays-in-php/
    array php
  • https://github.com/nergal/php-bottle

    Un mini framework php inspiré de bottle (mini framework python). Dans le même esprit que sinatra (mini framework ruby)

    via sametmax

    June 23, 2014 - permalink - https://github.com/nergal/php-bottle
    framework php
  • The Big Picture (current) - Symfony
    March 22, 2014 - permalink - http://symfony.com/doc/current/quick_tour/the_big_picture.html
    php symfony
  • Creating RRD graphs in PHP « php[architect] – Magazine, Training, Books, Conferences

    Feed du rrd en php

    March 19, 2014 - permalink - http://www.phparch.com/2011/02/creating-rrd-graphs-in-php/
    php rrd sonde
  • PHP Backdoors: Hidden With Clever Use of Extract Function | Sucuri Blog

    Backdoor php, tellement peu de code et discrete :o

    via Skunnyk

    February 18, 2014 - permalink - http://blog.sucuri.net/2014/02/php-backdoors-hidden-with-clever-use-of-extract-function.html
    backdoor php security
  • PHP: The Right Way

    à lire

    February 3, 2014 - permalink - http://www.phptherightway.com/
    php
  • Debian php

    Les package php5-* contiennent en général une extension en .so et le bout de fichier .ini qui permet de l'activer
    Les package php-* peuvent contenir d'autre chose comme des binaires ou des fichiers php (librairies)

    Parfois les dépots débian ne sont pas suffisament à jour alors on peut passer par des gestionnaires alternatifs :
    pecl : pour installer des .so
    pear : pour installer des libs php

    On peut aussi gérer les dépendance au niveau du projet au lieu de les gérer au niveau du système avec par exemple composer

    January 14, 2014 - permalink - https://links.infomee.fr/shaare/dTHxEA
    composer debian package pear pecl php
  • PHP :: Bug #52434 :: mysqlnd: host cannot be "localhost" when connecting to tcp port

    Point de vue différents :)

    Ici, lorsqu'on utilise "localhost", la connexion va se faire par une socket et lorsqu'on utilise "127.0.0.1", la connexion se fera par tcp. On pourrait se dire que le comportement est anormal, mais en fait, non :

    "The patch won't be added as then "localhost" has two meanings - one time meaning "use the unixdomain socket in the default location" and one time actually "resolve localhost and use TCP" as it is taught in many places that "localhost" in MySQL has the first meaning we keep it there."

    La socket est déterminée ici dans le php.ini :
    ; Default socket name for local MySQL connects. If empty, uses the built-in
    ; MySQL defaults.
    mysql.default_socket =

    January 3, 2014 - permalink - https://bugs.php.net/bug.php?id=52434
    bug mysql php socket
  • 7 little known but super useful PHP functions | CatsWhoCode.com
    December 31, 2013 - permalink - http://www.catswhocode.com/blog/7-little-known-but-super-useful-php-functions
    php
  • Pour mieux comprendre PHP

    3 articles à lire :
    http://julien-pauli.developpez.com/tutoriels/php/compilation/
    http://julien-pauli.developpez.com/tutoriels/php/internals/presentation/
    http://julien-pauli.developpez.com/tutoriels/php/internals/bases-creer-extension/
    http://tech.covoiturage.fr/author/julien_pauli/
    +Bonus :
    http://julien-pauli.developpez.com/tutoriels/php/sapis/
    https://support.cloud.engineyard.com/entries/26902267-PHP-Performance-I-Everything-You-Need-to-Know-About-OpCode-Caches

    December 30, 2013 - permalink - https://links.infomee.fr/shaare/bHKQ5A
    learning php
  • phpGraph : afficher des graphiques svg grâce à php - Ecyseo

    à utiliser pour faire les statistiques de dépenses pour une catégorie

    via sebsauvage

    December 27, 2013 - permalink - http://www.ecyseo.net/article/29/phpgraph-afficher-des-graphiques-svg-grace-a-php.html
    graph php
  • Setter and getter generator for PHP, JavaScript, C++ and C# | Kjetil Hårtveit's Blog

    Pratique
    Génère en inline en plus, donc plus condensé

    December 14, 2013 - permalink - http://www.kjetil-hartveit.com/blog/1/setter-and-getter-generator-for-php-javascript-c%2B%2B-and-csharp
    generator get getter php set setter
  • PHP, FastCGI, FPM et Apache - Lolart.net
    November 26, 2013 - permalink - http://www.lolart.net/blog/ez-publish/php-fastcgi-fpm-et-apache
    fpm php
  • PHP: FastCGI Process Manager (FPM) - Manual

    FPM (FastCGI Process Manager) est une implémentation alternative à PHP FastCGI avec quelques fonctionnalités additionnelles particulièrement utiles pour les environnements à haute charge.

    Ces fonctionnalités incluent :

    November 26, 2013 - permalink - http://php.net/manual/fr/install.fpm.php
    php
  • Snippet #24 ~ PHP: Allégez vos classes avec des get/set automatiques | IdleBlog

    Astuce pour avoir des getter/setter dynamique.
    Attention, comme le dit idleman, avec ça c'est comme si tous vos attributs étaient publiques.

    November 21, 2013 - permalink - http://blog.idleman.fr/snippet-24-php-allegez-vos-classes-avec-des-getset-automatiques/
    get getter php set setter
  • PECL :: The PHP Extension Community Library
    October 8, 2013 - permalink - http://pecl.php.net/
    c lib php
  • PythonVsPhp - Python Wiki

    Différence entre python et php
    Et un site pour débuter en python lorsqu'on vient de php :
    http://www.inspyration.org/tutoriels/debuter-python-lorsque-lon-vient-de-php

    September 9, 2013 - permalink - https://wiki.python.org/moin/PythonVsPhp
    php python
  • The HttpKernel Component (current) - Symfony

    Doc intéressante à lire sur le composant HttpKernel

    August 21, 2013 - permalink - http://symfony.com/doc/current/components/http_kernel/introduction.html
    doc php symfony
  • Homepage - Silex - The PHP micro-framework based on Symfony2 Components

    Another PHP Framework

    August 21, 2013 - permalink - http://silex.sensiolabs.org/
    framework php
  • PhotoShow

    Une gallerie de photo en php

    April 17, 2013 - permalink - http://www.photoshow-gallery.com/
    gallerie photo php
  • PHP: scandir - Manual

    scandir : affiche les fichiers et dossier contenus dans le dossier passé en paramètre

    April 11, 2013 - permalink - http://www.php.net/manual/en/function.scandir.php#105891
    php
  • PHP Template Engine | Smarty
    April 3, 2013 - permalink - http://www.smarty.net/
    php template
  • PHP Development Tools
    December 19, 2012 - permalink - http://www.eclipse.org/projects/project.php?id=tools.pdt
    eclipse pdt php
  • RainTPL - easy php template engine
    November 4, 2012 - permalink - http://www.raintpl.com/
    php techno template
  • High Performance PHP Framework for Web Development - Symfony
    November 4, 2012 - permalink - http://symfony.com/
    framework php techno
  • PHP: The Right Way

    good pratice in php

    November 2, 2012 - permalink - http://www.phptherightway.com/#site-header
    manual php
  • Fluidbyte/Codiad · GitHub

    Editeur en ligne avec coloration syntaxique etc

    October 19, 2012 - permalink - https://github.com/Fluidbyte/Codiad
    codiad editeur php
  • Get/Set - PHP Getters/Setters PHP, Java, Linux, JBOSS Seam | icurtain
    July 24, 2012 - permalink - http://www.icurtain.co.uk/getset.php
    generate php
  • PHP: How to detect / get the real client IP address of website visitors?
    April 20, 2012 - permalink - http://www.kavoir.com/2010/03/php-how-to-detect-get-the-real-client-ip-address-of-website-visitors.html
    address php
  • Le tutoriel du blog CakePHP :: Exemple d'Applications :: Le Manuel :: Collection 1.2
    February 23, 2012 - permalink - http://book.cakephp.org/1.2/fr/view/219/Le-tutoriel-du-blog-CakePHP
    cakephp framework php
  • Framework PHP - Quel framework choisir entre CodeIgniter, CakePHP, Symphony, Zend… | Réseau social des créateurs de site web

    Code Igniter

    February 14, 2012 - permalink - http://social.hecube.net/blog/2009/05/23/framework-php-quel-framework-choisir-entre-codeigniter-cakephp-symphony-zend/
    framework php
  • Aidan Lister » Blog Archive » Making time periods readable

    Une fonction pour calculer le temps écoulé entre 2 timestamp

    February 3, 2012 - permalink - http://aidanlister.com/2004/04/making-time-periods-readable/
    php time
  • ajaxCRUD.com - Use PHP & AJAX to CRUD from a mysql database table (create / read / update / delete)

    code pour générer des pages CRUD en php qui permettent sur une table :
    -Create ligne
    -Read les lignes
    -Update une ligne
    -Delete une ligne

    December 6, 2011 - permalink - http://ajaxcrud.com/?cssfile=visual4tab.css#ajaxtable
    crud php
  • OVH mutualisé et sessions - Forum des professionnels en informatique

    bis solution ovh session path

    December 5, 2011 - permalink - http://www.developpez.net/forums/d800929/php/php-sgbd/php-mysql/ovh-mutualise-sessions/
    php session
▼ Load 50 more