#41422 [Opn->Fbk]: mysql.default_socket and configure --with-mysql-sock don't work
| From: | tony2001@php.net | Date: | Thu, 17 May 2007 22:11:34 +0000 |
| Subject: | #41422 [Opn->Fbk]: mysql.default_socket and configure --with-mysql-sock don't work | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-112793@lists.php.net to get a copy of this message | ||
ID: 41422
Updated by: tony2001@php.net
Reported By: tiago dot tuxkiller at gmail dot com
-Status: Open
+Status: Feedback
Bug Type: MySQL related
Operating System: Linux x64
PHP Version: 4CVS-2007-05-17 (snap)
New Comment:
So you got this in your php.ini:
mysql.default_socket = /tmp/mysql4.sock
and your phpinfo() says this:
mysql.default_socket => /tmp/mysql4.sock => /tmp/mysql4.sock
What's your problem?
Previous Comments:
------------------------------------------------------------------------
[2007-05-17 22:05:22] tiago dot tuxkiller at gmail dot com
# /data/php/php4+mysql4/source-4.4.7/sapi/cli/php -i | grep "php\.ini"
Configuration File (php.ini) Path =>
/data/php/php4+mysql4/bin-4.4.7/php.ini
# grep ^mysql /data/php/php4+mysql4/bin-4.4.7/php.ini
mysql.allow_persistent = On
mysql.max_persistent = -1
mysql.max_links = -1
mysql.default_port = 3309
mysql.default_socket = /tmp/mysql4.sock
mysql.default_host =
mysql.default_user =
mysql.default_password =
------------------------------------------------------------------------
[2007-05-17 22:01:56] tony2001@php.net
./sapi/cli/php -i | grep "php\.ini"
------------------------------------------------------------------------
[2007-05-17 21:53:42] tiago dot tuxkiller at gmail dot com
# /iG/php/php4+mysql4/source-4.4.7/sapi/cli/php -i | grep sock
Configure Command => './configure'
'--prefix=/data/php/php4+mysql4/bin-4.4.7'
'--with-freetype-dir=/usr/lib64' '--with-zlib'
'--with-jpeg-dir=/usr/lib64' '--with-gd'
'--with-mysql=/data/dbms/mysql4/bin'
'--with-mysql-sock=/tmp/mysql4.sock' '--with-ttf'
'--with-config-file-path=/data/php/php4+mysql4/bin-4.4.7'
'--with-apxs2=/data/http_servers/apache2+mysql4+php4+mod_auth/bin-2.2.4/
bin/apxs'
'--with-mime-magic=/data/http_servers/apache2+mysql4+php4+mod_auth/bin-2
.2.4/conf/magic'
MYSQL_SOCKET => /tmp/mysql.sock
mysql.default_socket => /tmp/mysql4.sock => /tmp/mysql4.sock
default_socket_timeout => 60 => 60
Please, note the MYSQL_SOCKET has different from mysql.default_socket.
Thanks
------------------------------------------------------------------------
[2007-05-17 21:34:53] tony2001@php.net
You didn't answer this question:
What do you get with this after you finish 'make':
./sapi/cli/php -i | grep sock
?
Yes, I saw the other report and it's about MySQLi, which doesn't even
exist in PHP4.
------------------------------------------------------------------------
[2007-05-17 21:26:17] tiago dot tuxkiller at gmail dot com
Did you see this another bug?
http://bugs.php.net/bug.php?id=32081
It's like this, but it's closed (so I've opened one new).
But sound like tested only on PHP5...
[]s
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/41422
--
Edit this bug report at http://bugs.php.net/?id=41422&edit=1