Fix PHP MySQL default socket

Bug 1039849 - https://bugzilla.redhat.com/show_bug.cgi?id=1039849
Merge pull request #5046 from VojtechVitek/bug_1039849

Merged by openshift-bot