Correction : php5-fpm & MySQL : is not a valid MySQL-Link resource.
authorJulien Moutinho <julm+heureux-cyclage@autogeree.net>
Tue, 24 Sep 2013 11:06:04 +0000 (13:06 +0200)
committerroot <root@ateliers.heureux-cyclage.org>
Tue, 24 Sep 2013 11:33:06 +0000 (13:33 +0200)
NOTE: fix things like this :
Warning:  mysql_select_db(): 2 is not a valid MySQL-Link resource in test.php
which is likely due to php5-fpm not correctly destroying all PHP variables ;
uses auto_prepend_file in php.ini :
- works when script ends or exit() is called;
- works when mysql.so is loaded or not;
- not sure if this works with multiple MySQL connexions.


No differences found