LinuxSA Mailing list archives

Index: [thread] [date] [subject] [author] [stats]
  From: Andrew Halliday <andrew@recalldesign.com>
  To  : James O <jobrien@golden3.com.au>
  Date: Thu, 21 Jun 2001 15:42:11 +0930

Re: PHP and MySQL not playing

apt-get install php4-mysql


----- Original Message -----
From: "James O'Brien" <jobrien@golden3.com.au>
To: <linuxsa@linuxsa.org.au>
Sent: Thursday, June 21, 2001 3:09 PM
Subject: PHP and MySQL not playing


> All,
>
> Once again I have cheated and used apt get to download and install binary
> version of stuff instead of the source. But this time it think its got me.
> I grabbed apache (1.3.19), php (4.0.5), and mysql-server (3.23.36).
> Now, when I try to connect to MySQL from a PHP4 script, I get an error.
> I did some research and foind this in the MySQL manual:
>
> Error: "Fatal error: Call to unsupported or undefined function
> mysql_connect() in .." This means that your PHP version isn't compiled
with
> MySQL support. You can either compile a dynamic MySQL module and load it
> into PHP or recompile PHP with built-in MySQL support. This is described
in
> detail in the PHP manual.
>
> I get the undefined function error come up.
> Do I really have to do this? I mean Php and mysql are used a lot together,
> surely by default they can play nicely together!
> So far my entire box consists of binary.deb packages that apt-get has
> retrieved for me (I'm using Woody). I also have http://security.debian.org
> in my sources.list file.
> Do I really need to start going back to source again. Not that its a bad
> thing, I just like to keep it all simple.
>
> By the way, my previous problem with samba and having to set a windows
> registry setting EnablePlainTextPasswords=1 has been fixed. Thank you Mr
> Geddes!!! (or can I call you Matt?)  :)
>
>
> cheers,
>
> James O'Brien | jobrien@golden3.com.au
> Senior Technical Analyst
> Golden 3 Technology
>
>
> --
> LinuxSA WWW: http://www.linuxsa.org.au/  IRC: #linuxsa on irc.linux.org.au
> To unsubscribe from the LinuxSA list:
>   mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject
>

-- 
LinuxSA WWW: http://www.linuxsa.org.au/  IRC: #linuxsa on irc.linux.org.au
To unsubscribe from the LinuxSA list:
  mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject


Index: [thread] [date] [subject] [author] [stats]
Return to the LinuxSA Mailing List Information Page