From owner-freebsd-questions@FreeBSD.ORG Fri Nov 19 17:39:02 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 4563416A4CE for ; Fri, 19 Nov 2004 17:39:02 +0000 (GMT) Received: from smtpauth01.mail.atl.earthlink.net (smtpauth01.mail.atl.earthlink.net [209.86.89.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id F3D9743D31 for ; Fri, 19 Nov 2004 17:39:01 +0000 (GMT) (envelope-from steveb99@earthlink.net) Received: from [64.174.127.138] (helo=[63.203.154.194]) by smtpauth01.mail.atl.earthlink.net with asmtp (Exim 4.34) id 1CVCir-0001eH-D4 for freebsd-questions@freebsd.org; Fri, 19 Nov 2004 12:39:01 -0500 Message-ID: <419E2FB5.8080506@earthlink.net> Date: Fri, 19 Nov 2004 09:39:01 -0800 From: steveb99 User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <419E27C1.5050807@hayers.org> In-Reply-To: <419E27C1.5050807@hayers.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-ELNK-Trace: 5a0d6b9ad7f84ea4d780f4a490ca69563f9fea00a6dd62bcc6cc1c57759cddbb51950cbe62210da5350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 64.174.127.138 Subject: MySQL problems on FBSD 5.2.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Nov 2004 17:39:02 -0000 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. Thanks, Steve B.