[LBo] PHP MySQL question

James Allen jfallen at gmail.com
Tue Apr 24 07:17:29 CEST 2007


On 4/23/07, Jisao <dimark at securenet.net> 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?
>
> Jisao

Did you install PHP4 or PHP5? What is the code your using to try to connect?

James


More information about the QnA mailing list