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



-- 
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]

Reply via email to