note 11685 added to mysql_connect
| From: | php-general at lists dot php dot net | Date: | Fri, 02 Mar 2001 10:18:02 +0000 |
| Subject: | note 11685 added to mysql_connect | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-11771@lists.php.net to get a copy of this message | ||
I figured out my connection fail:
in my /etc/php4/apache/php.ini there is a line that
shows:
extension_dir = /usr/lib/php4/apache
when i changed it to
extension_dir = /usr/lib/php4/cgi
if found mysql.so fine and works...i hope this helps someone else i spend 6 hours on it :)
http://www.php.net/manual/en/function.mysql-connect.php