Subject: php4: mysql_connect() undefined
To: None <netbsd-help@netbsd.org>
From: Phil Brodd <pbrodd@blue.weeg.uiowa.edu>
List: netbsd-help
Date: 11/11/2001 20:56:03
I'm trying to install phpWebSite over apache 1.3.19, php4 4.0.5, and
mysql 3.23.43, all built from pkgsrc. I already had apache and mysql on
the system (1.5) so I installed the ap-php4 package.
Then when I tried to run the web-based phpWebSite installer, I got the
error:
Fatal error: Call to undefined function: mysql_connect() in
/usr/pkg/share/httpd/htdocs/phpwebsite_en/setup/functions.php on line 5
After seeing this, I installed the php4-mysql package and restarted
apache. I'm still getting the same error, however. The php.ini file
does contain the line "extension=mysql.so".
Any thoughts?
Thanks.
Phil Brodd