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

From: Date: Thu, 17 May 2007 20:06:46 +0000
Subject: #41422 [NEW]: mysql.default_socket and configure --with-mysql-sock don't work
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-112776@lists.php.net to get a copy of this message
From:             tiago dot tuxkiller at gmail dot com
Operating system: Linux x64
PHP version:      4CVS-2007-05-17 (snap)
PHP Bug Type:     PHP options/info functions
Bug description:  mysql.default_socket and configure --with-mysql-sock don't work

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 bug report at http://bugs.php.net/?id=41422&edit=1
-- 
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=41422&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=41422&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=41422&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=41422&r=fixedcvs
Fixed in release:             http://bugs.php.net/fix.php?id=41422&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=41422&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=41422&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=41422&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=41422&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=41422&r=notwrong
Not enough info:              http://bugs.php.net/fix.php?id=41422&r=notenoughinfo
Submitted twice:              http://bugs.php.net/fix.php?id=41422&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=41422&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=41422&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=41422&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=41422&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=41422&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=41422&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=41422&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=41422&r=mysqlcfg


Thread (20 messages)

« previous php.bugs (#112776) next »