problem setting up PHP
Ben Edwards
funkytwig at gmail.com
Fri Oct 29 10:46:26 UTC 2004
Ta, If I did not have the mysql extension uncommented in php.ini or
would the above do this for me - i'me asking because I was planning on
doing a apache/php/mysql howto.
so far I have - install apache2 - mod php - mysql.
and not php4-mysql (I guess there is a php5-mysql also).
>From my understanding og pkg policy stuff a package is not allowed to
change the config file of another package? so I guess I would need to
uncomment the extension?
Ben
On Fri, 29 Oct 2004 01:15:05 +0200, Oliver Grawert
<hostmaster at grawert.net> wrote:
> 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/
>
> --
>
>
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
--
Ben Edwards - Poole, UK, England
WARNING:This email contained partisan views - dont ever accuse me of
using the veneer of objectivity
If you have a problem emailing me use
http://www.gurtlush.org.uk/profiles.php?uid=4
(email address this email is sent from may be defunct)
More information about the ubuntu-users
mailing list