"Joshua J. Kugler" <[EMAIL PROTECTED]> wrote on 05/03/2004 12:23:16 PM:

> It sounds like someone upgraded your PHP libraries, and forget to 
include 
> MySQL support.  Do you admin this server, or does someone else?
> 
> j----- k-----

Yep, I ran phpinfo.php and verified that it no longer shows support for 
mysql. Only two of have the password to the server, myself and my boss 
(who knows absolutely nothing about it).
Now the question is  - how do I configure php to support mysql when it is 
already installed from the ports? Do I do a whole new install again? I 
hope not.
--
Chip


> On Monday 03 May 2004 09:20 am, Chip Wiegand said something like:
> > I have a web server that uses mysql-4.1.0/apache-2.4.6/php-4.3.4 on
> > freebsd-5.1.
> > It has been working fine for the past few years, now all of a sudden 
today
> > I get an undefined function error. This is from httpd-error.log -
> >
> >  PHP Fatal error:  Call to undefined function:  mysql_connect() in
> > /...<stuff>
> >
> > This is the connection function I am using -
> >
> > <? $conn=mysql_connect("localhost","user","") or die ("Could not 
connect
> > to the server");
> > mysql_select_db("simradusa", $conn) or die ("Could not get the 
database");
> > ?>
> >
> > If I comment out the above function the pages will load but of course 
none
> > of the database stuff will load. If I leave the lines with the connect
> > function uncommented the page fails to load altogether.
> >
> > As I mentioned - this just suddenly came about either today or over 
the
> > weekend, I know it worked friday when I left the office. This 
particular
> > machine has been up for 151 days 22 hours without a hiccup.
> >
> > thanks for the help,
> > --
> > Chip Wiegand
> > Computer Services
> > Simrad, Inc
> > www.simradusa.com
> > [EMAIL PROTECTED]
> >
> > "There is no reason anyone would want a computer in their home."
> >      --Ken Olson, president, chairman and founder of Digital Equipment
> > Corporation, 1977
> >  (Then why do I have 8? Somebody help me!)
> 
> -- 
> Joshua J. Kugler -- Fairbanks, Alaska -- ICQ#:13706295
> Every knee shall bow, and every tongue confess, in heaven, on earth,and 
under 
> the earth, that Jesus Christ is LORD -- Count on it!
> 
> -- 
> MySQL General Mailing List
> For list archives: http://lists.mysql.com/mysql
> To unsubscribe: 
http://lists.mysql.com/[EMAIL PROTECTED]
> 
> 


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to