#41422 [Fbk->Opn]: mysql.default_socket and configure --with-mysql-sock don't work

From: Date: Thu, 17 May 2007 20:16:51 +0000
Subject: #41422 [Fbk->Opn]: 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-112778@lists.php.net to get a copy of this message
 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:         PHP options/info functions
 Operating System: Linux x64
 PHP Version:      4CVS-2007-05-17 (snap)
 New Comment:

Hello Tony.

I was using "php-4.4.7.tar.gz"... and I've tried "make clean" before
make && make install.

How don't works, I've tried with "php4-STABLE-200705171830.tar.gz" in
another directory, with restart on my apache and etc...

But don't works in any tried, unfortunately.

Thanks


Previous Comments:
------------------------------------------------------------------------

[2007-05-17 20:11:25] tony2001@php.net

make clean && make

------------------------------------------------------------------------

[2007-05-17 20:06:46] tiago dot tuxkiller at gmail dot com

Description:
------------
Hello,

I'm using "PHP Version 4.4.8-dev" (php4-STABLE-200705171830.tar.gz) and
still with this problem: (http://bugs.php.net/bug.php?id=32081)

./configure
...
--with-mysql="/data/dbms/mysql4/bin" \
--with-mysql-sock="/tmp/mysql4.sock" \
...

php.ini:
mysql.default_port = 3309
mysql.default_socket = /tmp/mysql4.sock

Result of phpinfo():
Client API version 	4.1.22
MYSQL_MODULE_TYPE 	external
MYSQL_SOCKET 	/tmp/mysql.sock

(I'm using symlinks now... but if I need of another php4 I'll be on
problem :-)

Reproduce code:
---------------
Compile one PHP4 and try to change the path of mysql default sock.

Expected result:
----------------
The path can be changed for one new.

Actual result:
--------------
The localization of sock was "hardcoded" on someplace :)


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=41422&edit=1


Thread (20 messages)

« previous php.bugs (#112778) next »