From owner-freebsd-questions@FreeBSD.ORG Fri Nov 19 21:12:24 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0443816A4CE for ; Fri, 19 Nov 2004 21:12:24 +0000 (GMT) Received: from virtual.micronet.sk (smtp-r.micronet.sk [213.215.96.238]) by mx1.FreeBSD.org (Postfix) with ESMTP id 60BC543D2F for ; Fri, 19 Nov 2004 21:12:23 +0000 (GMT) (envelope-from danger@wilbury.sk) Received: from danger.dnv.dewnet.sk ([213.215.105.189]) by virtual.micronet.sk (8.12.11/8.12.11) with ESMTP id iAJLBumo058991 for ; Fri, 19 Nov 2004 22:11:57 +0100 (CET) (envelope-from danger@wilbury.sk) Resent-Date: Fri, 19 Nov 2004 22:11:56 +0100 (CET) Resent-Message-Id: <200411192111.iAJLBumo058991@virtual.micronet.sk> Date: Fri, 19 Nov 2004 22:13:38 +0100 From: DanGer X-Mailer: The Bat! (v3.0.1.33) Professional X-Priority: 3 (Normal) Message-ID: <1385054174.20041119221338@wilbury.sk> To: questions@freebsd.org Resent-From: DanGer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: MySQL problems on FBSD 5.2.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: DanGer List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Nov 2004 21:12:24 -0000 Hi steveb99, Friday, November 19, 2004, 6:39:01 PM, you wrote: > I installed mod_PHP which installed Apache 2 from ports. All that > works fine. I then install MySQL4 port and have it working fine > standalone. What I can't get to work is calling MySQL from PHP code. > The code hits the call to MySQL functions and does nothing, just stops > at that line and the web server puts up a blank screen. I have looked > at http error logs and nothing. I have put debug statements in the PHP > code and it does execute up to the first MySQL line trying to connect. > $db = MySQL_pconnect('localhost', 'mysqlacct', 'mysqlpw'); > What am I missing. I have been reading articles on the internet and > everything is talking about old versions or doing it from source not > ports. I assume this can be done from ports? From reading I get the > feeling I installed in the wrong order, or there is more configuration I > am missings. > Can someone help point me to what I am missing here. do you have php4(5?)-extensions port installed with mysql support? if not, install it and then notice... > Thanks, np > Steve B. -- Best Regards, +----------==/\/\==----------+ (__) FreeBSD | DanGer | \\\'',) The | DanGer@IRCnet ICQ261701668 | \/ \ ^ Power | http://danger.homeunix.org | .\._/_) To +----------==\/\/==----------+ Serve [ A man without religion is like a fish without a bicycle. ]