Subject: PHP not talking to MySQL
To: None <>
From: Frank DeChellis <>
List: tech-pkg
Date: 02/06/2003 15:21:40

We have NetBSD 1.6_STABLE, PHP 4.1.2 and MySQL 3.23.

For some reason, PHP works fine until you try and do anything with MySQL.
MySQL works fine at the command prompt.  IS there a file that we need to
edit to configure PHP to use MySQL.

Any help you can offer is appreciated.


Here are the packages we have installed.

php-4.1.2           HTML-embedded scripting language
php-pcre-4.1.2      PHP4 extension for Perl-compatible regular expressions
php-session-4.1.2nb1 PHP4 extension for session-handling
php-gettext-4.1.2   PHP4 extension for gettext support
php-xml-4.1.2       PHP4 extension for parsing XML
php-imap-4.1.2      PHP4 extension for IMAP (Internet Mailbox Access
ap-php-4.1.2        Apache module for PHP4
php-mysql-4.1.2     PHP4 extension for MySQL databases
phpmyadmin-2.2.0    Set of PHP-scripts to adminstrate MySQL over the WWW
mysql-client-3.23.49nb1 MySQL, a free SQL database (client)
mysql-server-3.23.49 MySQL, a free SQL database (server)
php-mysql-4.1.2     PHP4 extension for MySQL databases

Frank DeChellis, President
Internet Access Worldwide
3 East Main St.  Welland, ON, Canada