[Bug 505711] New: Apache ignores php.ini when looking for the mysql socket
http://bugzilla.novell.com/show_bug.cgi?id=505711 Summary: Apache ignores php.ini when looking for the mysql socket Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: i586 OS/Version: openSUSE 11.1 Status: NEW Severity: Blocker Priority: P5 - None Component: Apache AssignedTo: bnc-team-apache@forge.provo.novell.com ReportedBy: pothibo@gmail.com QAContact: qa@suse.de Found By: Development I just installed a LAMP server on my system and my.cnf specify that the socket is run on /var/run/mysql/mysql.sock php.ini by default has no settings set for mysql.default_socket but has a builtin option (which I suppose it /var/lib/mysql/mysql.sock since my error was showing a trying connection to that path). Since /var/lib/mysql/mysql.sock is not where the socket is. I changed the setting in /etc/php5/apache2/php.ini so that mysql.default_socket=/var/run/mysql/mysql.sock But the php.ini directive seems to be totally ignored. I did a small workaround by adding a symlink to the socket in /var/lib/mysql/ -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=505711 Stephan Binner <binner@kde.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Blocker |Normal -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=505711 https://bugzilla.novell.com/show_bug.cgi?id=505711#c1 Bruno Friedmann <bruno@ioda-net.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bruno@ioda-net.ch Resolution| |DUPLICATE --- Comment #1 from Bruno Friedmann <bruno@ioda-net.ch> 2011-04-02 08:15:14 UTC --- openSUSE Squashing days for old bugs. This one is exactly the same as 499021 so closed as duplicate *** This bug has been marked as a duplicate of bug 499021 *** http://bugzilla.novell.com/show_bug.cgi?id=499021 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com