[LBo] PHP MySQL question

Anita Lewis a.lewis at linuxbasics.org
Tue Apr 24 16:15:50 CEST 2007


Jisao wrote:
> OK.  I am running an Apache server, with PHP and MySQL on Debian Lenny
> (testing).  All work separately (I tested them).
> =

> However, when I try to work with a web page connecting to the MySQL
> server, I get this error:
> "Fatal error: Call to undefined function mysql_connect() in
> /var/www/createmovie.php on line 4"
> =

> Apparently, it would mean that I don't have mysql module installed.
> =

> However, I do have the php4-mysql package installed.
> =

> What am I missing here?
> =


LinuxReality Episode #58 covers the installation of a LAMP and a simple
web calendar.  I listened to it on the way to work this morning.  He did
mention editing a file and then restarting the services.  You might want
to listen to it just to see if you got all the pieces.

http://linuxreality.com/

I love the way he gives the step by step as he installs.  He is doing it
with Debian. I think he makes it really simple with all the steps.

Anita

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://linuxbasics.org/pipermail/qna/attachments/20070424/9ef77278/si=
gnature.pgp


More information about the QnA mailing list