[Bug 505711] Apache ignores php.ini when looking for the mysql socket