Fatal error: Call to undefined function mysql_connect

Patrick Newberry PNewberry at habitat.org
Tue Feb 13 14:26:04 UTC 2007


I did run apt_get install php5-mysql last night, in fact used apt-get
--reinstall for several things per the dapper guide hoping to correct
any problems I might have created earlier, but now having a problem with
my apache not working with php scripts. 

It keeps asking me what if I want to download the file or search for an
application to process it. I when to the apache2.conf file and commented
out this line

AddType application/x-httpd-php .php

Thinking that maybe that was the problem. Restarted apache before
checking of course. It got late last night and will look at it some more
tonight.

Pat.

-----Original Message-----
From: ubuntu-users-bounces at lists.ubuntu.com
[mailto:ubuntu-users-bounces at lists.ubuntu.com] On Behalf Of Brad Johnson
Sent: Monday, February 12, 2007 10:57 PM
To: Ubuntu user technical support,not for general discussions
Subject: Re: Fatal error: Call to undefined function mysql_connect

On Mon, 2007-02-12 at 09:46 -0500, Patrick Newberry wrote:
> I installed apache, php5 and mysql via apt-get

sudo apt-get install php5-mysql

It adds mysql support to php5

Brad


-- 
ubuntu-users mailing list
ubuntu-users at lists.ubuntu.com
Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users




More information about the ubuntu-users mailing list