Bug #11674: can#t connect on socket
| From: | lopez at pepe-lopez dot com | Date: | Mon, 25 Jun 2001 18:33:25 +0000 |
| Subject: | Bug #11674: can#t connect on socket | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-57961@lists.php.net to get a copy of this message | ||
From: lopez@pepe-lopez.com
Operating system: FreeBSD 4.2
PHP version: 4.0.6
PHP Bug Type: MySQL related
Bug description: can#t connect on socket
OK, I compile 4.0.6 (runs as CGI), and copy it to my cgi-bin (where 4.0.5 is/was located (running)).
Then, PHP can't connect to mysql.sock in /tmp/var
- in 4.0.5 the default *SEEMS* /tmp, however, in 4.0.5 the default works, in 4.0.6 NOT.
When I set up the php.ini (.ini-dist or optimized, it's the same thing!) with
mysql.default.socket = /tmp/mysql.sock
the same error (warning) is displaying, but this time with
mysql.sock '-1'.
OK, I delete the php.ini, and 4.0.5 works without any probs, when I copy 4.0.6, -> can't
connect to mysql.sock /tmp/var
so...?
regards,
Lopez
--
Edit Bug report at: http://bugs.php.net/?id=11674&edit=1