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

From: Date: Thu, 17 May 2007 20:26:02 +0000
Subject: #41422 [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-112780@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: Feedback Bug Type: PHP options/info functions Operating System: Linux x64 PHP Version: 4CVS-2007-05-17 (snap) New Comment: Cannot reproduce: ./configure --disable-all --with-mysql --with-mysql-sock=/whatever/you/want && make ./sapi/cli/php -i | grep what Configure Command => './configure' '--disable-all' '--with-mysql' '--with-mysql-sock=/whatever/you/want' MYSQL_SOCKET => /whatever/you/want Previous Comments: ------------------------------------------------------------------------ [2007-05-17 20:21:48] tony2001@php.net --with-mysql="/data/dbms/mysql4/bin" <-- this does not look like installation _prefix_ ------------------------------------------------------------------------ [2007-05-17 20:16:51] tiago dot tuxkiller at gmail dot com 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 ------------------------------------------------------------------------ [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

« previous php.bugs (#112780) next »