From: Julien Moutinho Date: Tue, 24 Sep 2013 11:06:04 +0000 (+0200) Subject: Correction : php5-fpm & MySQL : is not a valid MySQL-Link resource. X-Git-Url: http://git.cyclocoop.org/?a=commitdiff_plain;h=4e0412adb2eafeb71122b2f41c12b4bf2d138ed7;hp=4e0412adb2eafeb71122b2f41c12b4bf2d138ed7;p=lhc%2Fateliers.git Correction : php5-fpm & MySQL : is not a valid MySQL-Link resource. 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. ---