From owner-freebsd-questions Mon Jan 10 8:18:41 2000 Delivered-To: freebsd-questions@freebsd.org Received: from ns1.ibroadcast.net (ns1.ibroadcast.net [216.145.30.2]) by hub.freebsd.org (Postfix) with SMTP id 2DDF214C23 for ; Mon, 10 Jan 2000 08:18:39 -0800 (PST) (envelope-from majid@ibroadcast.net) Received: from darthmaul (darthmaul.ibroadcast.net [216.145.29.142]) by ns1.ibroadcast.net (8.9.3/8.8.8) with SMTP id IAA35160; Mon, 10 Jan 2000 08:17:44 -0800 (PST) X-Intended-For: freebsd-questions@FreeBSD.ORG Message-ID: <003e01bf5b43$65d8b2a0$8e1d91d8@ibroadcast.net> From: "Majid Almassari" To: "Peter Kok" , References: <387A0313.4A0D03A8@stlinux.ouhk.edu.hk> Subject: Re: Help about Apache 1.3.6 + PHP Date: Mon, 10 Jan 2000 08:19:21 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 To: 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