ID: 41422
User updated by: tiago dot tuxkiller at gmail dot com
Reported By: tiago dot tuxkiller at gmail dot com
-Status: Feedback
+Status: Open
Bug Type: MySQL related
Operating System: Linux x64
PHP Version: 4CVS-2007-05-17 (snap)
New Comment:
# /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
Previous Comments:
------------------------------------------------------------------------
[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
------------------------------------------------------------------------
[2007-05-17 21:24:50] tiago dot tuxkiller at gmail dot com
My prefix is really different, sorry. But we need to use on this way.
If I don't say "/usr/lib64" the PHP will be compiled using "/usr/lib"
(32bits)
This is my php.ini:
...
mysql.default_port = 3309
mysql.default_socket = /tmp/mysql4.sock
...
Thanks
------------------------------------------------------------------------
[2007-05-17 20:58:33] tony2001@php.net
And what is the value of mysql.default_socket in your php.ini ?
------------------------------------------------------------------------
[2007-05-17 20:57:56] tony2001@php.net
>--prefix="/data/php/php4+mysql4/bin-4.4.7" \
Your ../bin prefixes are totally wrong.
--with-freetype-dir="/usr/lib64" \
--with-jpeg-dir="/usr/lib64" \
"/usr/lib64" is NOT a prefix.
"/usr" is.
>--with-mysql-sock="/tmp/mysql4.sock" \
What do you get with this after you finish 'make':
./sapi/cli/php -i | grep sock
?
------------------------------------------------------------------------
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