[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] SQL Question
- Subject: Re: [cobalt-users] SQL Question
- From: "Steve Werby" <steve-lists@xxxxxxxxxxxx>
- Date: Sat Sep 22 08:30:31 2001
- Organization: Befriend Internet Services LLC
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
"Brett Bunch" <bbunch@xxxxxxxxxxx> wrote:
> I am trying to run various programs that call to an SQL database.
> Everytime on every program, I get:
> Fatal error: Call to undefined function: mysql_connect() in
> /home/sites/site14/web/web_support/phphelpdesk/includes/connect.inc.php
> on line 10
> Any ideas?
Your PHP is not compiled with MySQL support. Create a php script containing
<?php phpinfo; ?> and view it from a browser to verify. If your PHP is from
a Cobalt PKG install, then add the line "'extension=mysql.so'" to
/etc/httpd/php.ini. If that doesn't help, give more details. It's always
helpful to know which model server you are running, what version of software
you're having problems with and other pertinent info. that usually is needed
to help people.
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/