Bug #16116: MYSQL_UNIX_ADDR
| From: | photon at comcast dot net | Date: | Sat, 16 Mar 2002 21:43:46 +0000 |
| Subject: | Bug #16116: MYSQL_UNIX_ADDR | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-2657@lists.php.net to get a copy of this message | ||
From: photon@comcast.net
Operating system: Linux
PHP version: 4.1.2
PHP Bug Type: Compile Failure
Bug description: MYSQL_UNIX_ADDR
If you compile mysql with a specific .sock location, and then compile php
with your local mysql libraries, php tries to redefine MYSQL_UNIX_ADDR.
The problem lies in php_config.h.
Basically,
#define MYSQL_UNIX_ADDR "/var/run/mysql/mysql.sock"
(that path probably isn't right, I already changed it on mine)
should be
#ifndef MYSQL_UNIX_ADDR
#define MYSQL_UNIX_ADDR "/var/run/mysql/mysql.sock"
#endif
But I don't know how to fix whatever needs to be fixed so that this
php_config.h, which seems to be a generated file, is generated like that.
--
Edit bug report at http://bugs.php.net/?id=16116&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=16116&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=16116&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=16116&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=16116&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16116&r=support
Expected behavior: http://bugs.php.net/fix.php?id=16116&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=16116&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=16116&r=submittedtwice