[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Can't load mysql with php



"MStan" <MStanchin@xxxxxxxxxx> wrote:
> Hello group, OK I set up mysql and php from the cobalt site...installed
> fine, now it
> seems that when I check php to see if its loading a module for mysql its
> not!....why
> I entered a line in the php.ini that said extension=mysql.so but it still
> will not load...

You need to restart Apache for it to recognize the change.
/etc/rc.d/init.d/httpd restart

> also the reason for all this is I am trying to get phpBB to run and I keep
> getting this error
>
> Testing DB Connection...
> Fatal error: Call to undefined function: mysql_connect() in
> /home/sites/home/users/mark/web/phpBB/install.php on line 39

After you restart Apache this error should disappear.  If not, view the
output of a page with <?php phpinfo(); ?> in it and see if MySQL support is
enabled.

--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/