Bug #12415: changing mysql.default_socket in /etc/php.ini doesn't work
| From: | akoski at iobox dot com | Date: | Fri, 27 Jul 2001 06:52:41 +0000 |
| Subject: | Bug #12415: changing mysql.default_socket in /etc/php.ini doesn't work | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-61163@lists.php.net to get a copy of this message | ||
From: akoski@iobox.com
Operating system: Linux Mandrake 8.0
PHP version: 4.0.6
PHP Bug Type: MySQL related
Bug description: changing mysql.default_socket in /etc/php.ini doesn't work
I have tried to change MySQL's socket path to something else than the
default. I found that there's a mysql.default_socket in /etc/php.ini.
I changed it to point to the socket file, but it doesn't seem to have any
effect. PHP produces error message saying that it cannot find mysql.sock,
and the path points still to the default location. phpinfo() shows also the
default location.
There's a workaround: symbolic link to real socket file.
--
Edit bug report at: http://bugs.php.net/?id=12415&edit=1