php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #13918 PHP can't find mysql.sock
Submitted: 2001-11-03 12:56 UTC Modified: 2001-11-03 16:20 UTC
From: john at ml-sss dot demon dot co dot uk Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 4.0.6 OS: OS-X
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: john at ml-sss dot demon dot co dot uk
New email:
PHP Version: OS:

 

 [2001-11-03 12:56 UTC] john at ml-sss dot demon dot co dot uk
Hi,

OS-X stores this in /Private/tmp/mysql.sock - the configure script just needs to search that dir too. Any php script comes up with "can't find /tmp/mysql.sock" (unsurprisingly).

I recompiled and reinstalled with that added in and it works fine now.

Thanks,

John

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-11-03 15:19 UTC] cnewbill@php.net
ehh so where's the bug?

-Feature Request
 [2001-11-03 15:27 UTC] derick@php.net
Fixed in CVS. Will be in 4.2.0.

Derick
 [2001-11-03 15:32 UTC] sander@php.net
Why not in 4.1.0?
You can consider this a bug: PHP doesn't work well without this fix. Although it's not a bug in PHP, it is a bug in the configure-script, which is a part of the PHP-distro.
 [2001-11-03 16:12 UTC] john at ml-sss dot demon dot co dot uk
Hi,

I agree - OS-X users can't use it otherwise as there's no means of manually setting that directory within configure that I could see. I'd think it would save you a whole load of hassle to offload that sort of simple change as early as possible.

Regards,

John
 [2001-11-03 16:20 UTC] derick@php.net
Ok, it will be in 4.1.0 too

Derick
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed May 07 08:01:27 2025 UTC