Mac PHP & MySQL
| From: | Ed Lazor | Date: | Fri, 03 Nov 2006 01:11:09 +0000 |
| Subject: | Mac PHP & MySQL | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-244116@lists.php.net to get a copy of this message | ||
I'm trying to configure and compile PHP 5. The configure is failing to find the MySQL UNIX socket. Any ideas?
./configure \
--with-apxs2=/usr/local/apache2/bin/apxs \
--with-zlib \
--with-mysql=/usr/local/mysql \
--with-mysql-socket=/tmp
The mysql.sock file is physically located in /private/tmp. The /tmp is a link to /private/tmp. I also tried specifying the --with-mysql-socket=/private/tmp with no luck.
PHP 5.1.6
Apache 2.2.3
MySQL 5.0.27
Mac OS X 10.4.8
Thanks,
Ed