redhat 9 compile of PHP
| From: | Greg Beaver | Date: | Mon, 02 Jun 2003 06:19:58 +0000 |
| Subject: | redhat 9 compile of PHP | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-149756@lists.php.net to get a copy of this message | ||
Hi,
I'm trying to get an installation of PHP 4.3.2 with Apache 1.3.27 (SAPI), and mysql/zlib/xml-rpc support working with redhat 9's standard MySQL distribution 3.23.56-1.9
I have successfully compiled Apache and PHP so that normal programs work in both cases. However, I get an error when I use mysql_connect() (no parameters or with 'localhost' or with a username).
The error is somthing like couldn't connect to MySQL through /tmp/mysql.sock. (I'm sending this message from another system)
my configure line was --with-mysql (no directory).
Anyone with experience in this matter would be very helpful.
Thanks,
Greg