[mapserver-users] RE: weirdest problem w/PHP
Puneet Kishor
pkishor at GeoAnalytics.com
Thu Mar 14 16:41:06 PST 2002
thanks for the suggestion.
dunno, but make-ing clean, and recompiling PHP did the trick. Its all
working now.
huh!
> -----Original Message-----
> From: John Millard [mailto:millarj at lib.muohio.edu]
> Sent: Thursday, March 14, 2002 2:38 PM
> To: Puneet Kishor
> Cc: 'mapserver-users at lists.gis.umn.edu'
> Subject: Re: [mapserver-users] RE: weirdest problem w/PHP
>
>
>
> Check to make sure that you've compiled mysql support into
> BOTH the cgi
> version of php and the Apache Module?
>
> -John
> _________________________________________________________
>
> John Millard
> Digital Initiatives Librarian
> Geographic Information Systems
> Miami University, Oxford, OH 45056-1878
>
>
>
>
>
> On Thu, 14 Mar 2002, Puneet Kishor wrote:
>
> > ok... here's some more.
> >
> > If I run the script via the browser it croaks... it says
> >
> > Fatal error: Call to undefined function: mysql_connect() in
> > /var/www/html/test.php on line 3
> >
> >
> > However, if I run the same script from the terminal (%] php
> test.php) it
> > works absolutely fine... connects to MySQL, returns the
> data, prints it out,
> > etc. etc.
> >
> >
> > What is it about the browser that it refuses to recognize the mysql
> > functions of PHP? Btw, other PHP functions seem to work.
> This is on a RH
> > Linux box.
> >
> > pk/
> >
> >
> >
> > > -----Original Message-----
> > > From: Puneet Kishor
> > > Sent: Thursday, March 14, 2002 1:48 PM
> > > To: mapserver-users at lists.gis.umn.edu
> > > Subject: weirdest problem w/PHP
> > >
> > >
> > > I am absolutely stumped. Here's hoping someone can help me.
> > >
> > > For some strange reason now PHP is croaking on my machine and
> > > saying that
> > > mysql_connect() is not a function. In fact, all mysql_???
> > > functions seem to make it croak. It was all working a couple
> > > of days ago.
> > >
> > > Anyone have any idea what I could have done to muck this up
> > > (assuming I have mucked it up).
> > >
> > > Many thank,
> > >
> > >
> > > pk/
> > >
> >
>
> _________________________________________________________
>
> John Millard
> Digital Initiatives Librarian
> Geographic Information Systems
> Miami University, Oxford, OH 45056-1878
>
>
>
>
>
More information about the MapServer-users
mailing list