Re: Bug #13918 Updated: PHP can't find mysql.sock

From: Date: Sun, 04 Nov 2001 02:28:34 +0000
Subject: Re: Bug #13918 Updated: PHP can't find mysql.sock
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-69589@lists.php.net to get a copy of this message
FYI: php.ini has this directive to set mysql.sock path: mysql.default_socket=/Private/tmp/mysql.sock ie. you don't set it in configure but in php.ini. And the fix committed now only affects the builtin mysql libs. If you're using external libs, they should know about the location. --Jani On 3 Nov 2001 john@ml-sss.demon.co.uk wrote: >ID: 13918 >User updated by: john@ml-sss.demon.co.uk >Reported By: john@ml-sss.demon.co.uk >Status: Closed >Bug Type: Feature/Change Request >Operating System: OS-X >PHP Version: 4.0.6 >New Comment: > >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 > >Previous Comments: >------------------------------------------------------------------------ > >[2001-11-03 15:32:35] 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 15:27:09] derick@php.net > >Fixed in CVS. Will be in 4.2.0. > >Derick > >------------------------------------------------------------------------ > >[2001-11-03 15:19:00] cnewbill@php.net > >ehh so where's the bug? > >-Feature Request > >------------------------------------------------------------------------ > >[2001-11-03 12:56:01] john@ml-sss.demon.co.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 > >------------------------------------------------------------------------ > > > >Edit this bug report at http://bugs.php.net/?id=13918&edit=1 > > >

« previous php.dev (#69589) next »