problem setting up PHP

Oliver Grawert hostmaster at grawert.net
Thu Oct 28 23:15:05 UTC 2004


hi,
Am Donnerstag, den 28.10.2004, 21:10 +0100 schrieb Ben Edwards:
> I have already donr this ;(
> 
> On Thu, 28 Oct 2004 15:55:30 -0400, Mike Smith <mikeosmith at gmail.com> wrote:
> > On Thu, 28 Oct 2004 20:19:27 +0100, Ben Edwards <funkytwig at gmail.com> wrote:
> > > Worked out what it was - I specified index.php, rather than yust the
> > > site root and it worked.
> > >
> > > I now get
> > > Fatal error: Call to undefined function: mysql_connect() in
> > > /var/www/singleparents.org.uk/lib/db.inc on line 18
> > >
> > > I suess I need to enable the mysql extension in php but dont know how?
> > >
try:
sudo apt-get install php4-mysql

and make sure your mysql server is running.

ciao
	oli

-- 
got ubuntu ? --------------> GET UBUNTU !!!
http://www.ubuntulinux.org/





More information about the ubuntu-users mailing list