[PHP-DEV] Bug #13918 Updated: PHP can't find mysql.sock

2001-11-03 Thread cnewbill

ID: 13918
Updated by: cnewbill
Reported By: [EMAIL PROTECTED]
Status: Open
Old Bug Type: MySQL related
Bug Type: Feature/Change Request
Operating System: OS-X
PHP Version: 4.0.6
New Comment:

ehh so where's the bug?

-Feature Request

Previous Comments:


[2001-11-03 12:56:01] [EMAIL PROTECTED]

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=13918edit=1


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #13918 Updated: PHP can't find mysql.sock

2001-11-03 Thread derick

ID: 13918
Updated by: derick
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Closed
Bug Type: Feature/Change Request
Operating System: OS-X
PHP Version: 4.0.6
New Comment:

Fixed in CVS. Will be in 4.2.0.

Derick

Previous Comments:


[2001-11-03 15:19:00] [EMAIL PROTECTED]

ehh so where's the bug?

-Feature Request



[2001-11-03 12:56:01] [EMAIL PROTECTED]

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=13918edit=1


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #13918 Updated: PHP can't find mysql.sock

2001-11-03 Thread sander

ID: 13918
Updated by: sander
Reported By: [EMAIL PROTECTED]
Status: Closed
Bug Type: Feature/Change Request
Operating System: OS-X
PHP Version: 4.0.6
New Comment:

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.

Previous Comments:


[2001-11-03 15:27:09] [EMAIL PROTECTED]

Fixed in CVS. Will be in 4.2.0.

Derick



[2001-11-03 15:19:00] [EMAIL PROTECTED]

ehh so where's the bug?

-Feature Request



[2001-11-03 12:56:01] [EMAIL PROTECTED]

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=13918edit=1


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #13918 Updated: PHP can't find mysql.sock

2001-11-03 Thread john

ID: 13918
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
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] [EMAIL PROTECTED]

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] [EMAIL PROTECTED]

Fixed in CVS. Will be in 4.2.0.

Derick



[2001-11-03 15:19:00] [EMAIL PROTECTED]

ehh so where's the bug?

-Feature Request



[2001-11-03 12:56:01] [EMAIL PROTECTED]

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=13918edit=1


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #13918 Updated: PHP can't find mysql.sock

2001-11-03 Thread derick

ID: 13918
Updated by: derick
Reported By: [EMAIL PROTECTED]
Status: Closed
Bug Type: Feature/Change Request
Operating System: OS-X
PHP Version: 4.0.6
New Comment:

Ok, it will be in 4.1.0 too

Derick

Previous Comments:


[2001-11-03 16:12:01] [EMAIL PROTECTED]

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 15:32:35] [EMAIL PROTECTED]

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] [EMAIL PROTECTED]

Fixed in CVS. Will be in 4.2.0.

Derick



[2001-11-03 15:19:00] [EMAIL PROTECTED]

ehh so where's the bug?

-Feature Request



[2001-11-03 12:56:01] [EMAIL PROTECTED]

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=13918edit=1


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] Bug #13918 Updated: PHP can't find mysql.sock

2001-11-03 Thread Jani Taskinen


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 [EMAIL PROTECTED] wrote:

ID: 13918
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
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] [EMAIL PROTECTED]

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] [EMAIL PROTECTED]

Fixed in CVS. Will be in 4.2.0.

Derick



[2001-11-03 15:19:00] [EMAIL PROTECTED]

ehh so where's the bug?

-Feature Request



[2001-11-03 12:56:01] [EMAIL PROTECTED]

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=13918edit=1





-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] Bug #13918 Updated: PHP can't find mysql.sock

2001-11-03 Thread Yasuo Ohgaki

Jani Taskinen wrote:

 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


I think I've read similar mail about pgsql. (I thought it was
feature request, but I couldn't find it...) The user is saying
pqsql's socket file is defualt to /tmp, but there is no way to set
socket directory to other places.

It's also configurable using environment PGHOST enviroment variable.

== from pgsql manual ==
PGHOST sets the default server name. If this begins with a slash,
it specifies Unix-domain communication rather than TCP/IP
communication; the value is the name of the directory in which the
socket file is stored (default /tmp).
===

Environmnet variables can affect pgsql module behavior.
It would be nice if PHP Manual has description about it.

--
Yasuo Ohgaki

 
 
 On 3 Nov 2001 [EMAIL PROTECTED] wrote:
 
 
ID: 13918
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
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] [EMAIL PROTECTED]

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] [EMAIL PROTECTED]

Fixed in CVS. Will be in 4.2.0.

Derick



[2001-11-03 15:19:00] [EMAIL PROTECTED]

ehh so where's the bug?

-Feature Request



[2001-11-03 12:56:01] [EMAIL PROTECTED]

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=13918edit=1




 



-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]