Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Jan 2000 08:19:21 -0000
From:      "Majid Almassari" <majid@ibroadcast.net>
To:        "Peter Kok" <cckok00@stlinux.ouhk.edu.hk>, <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Help about Apache 1.3.6 + PHP
Message-ID:  <003e01bf5b43$65d8b2a0$8e1d91d8@ibroadcast.net>
References:  <387A0313.4A0D03A8@stlinux.ouhk.edu.hk>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,
Download the Source code then just compile it. running the install works on
the pre-compiled binary versions only and its got top be the one for your
OS. Go to
ftp://ftp.mysql.com/pub/mysql/Downloads/MySQL-3.22
and download the last file mysql-3.22.27.tar.gz
which is the raw source code. Make a directory call it whatever name you
like something like mysql  then download the above tar ball in that
directory. untar it then cd to mysql-3.22.27 do the usual
./configure
make
make install
then run
./script/mysql_install_db (to start mysql)
To verify that mysql is running
/usr/local/bin/mysqladmin version (should dispaly the version output)
Hopefully that helps.

--
Majid Almassari, MSEE, MCP.
Systems Administrator
iBroadcast, Inc.
Phone: (206) 223-5540
Email: majid@ibroadcast.net
http://www.ibroadcast.net

----- Original Message -----
From: Peter Kok <cckok00@stlinux.ouhk.edu.hk>
To: <freebsd-questions@FreeBSD.ORG>
Sent: Monday, January 10, 2000 4:04 PM
Subject: Help about Apache 1.3.6 + PHP


> Hello all
>
> I got Apache 1.3.6 + PHP from /stand/sysinstall installation
> but I run program and got the error so that I sent mail to ask about PHP
> help
> They replied me as follows:
> -----------------------------
>        Fatal error: Call to unsupported or undefined function
> mysql_connect() in /home/ann/public_html/third.php3
>        on line 5
>         This means you haven't got MySQL support compiled in. Judging by
> the  URL you provided you
>        haven't either compiled PHP with MySQL or if you;ve installed an
> RPM of Apache/Mod_php then it
>        doesn't have MySQL support compiled on either.
>        You may need to download and/or recompile PHP and Apache
>
>        Cheers,
>         Graeme
> -----------------------------
> Now I don't know how to do because I only know installation from
> '/stand/sysinstall'
> But It seems error arised from installation.
> Please help me
>
> Thank you so much
>
> Best regards
> Peter
>
>
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
>



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?003e01bf5b43$65d8b2a0$8e1d91d8>