From owner-freebsd-questions@FreeBSD.ORG Mon Jan 2 01:56:18 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 B6DF616A41F for ; Mon, 2 Jan 2006 01:56:18 +0000 (GMT) (envelope-from ldrada@gmail.com) Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 66ECF43D53 for ; Mon, 2 Jan 2006 01:56:17 +0000 (GMT) (envelope-from ldrada@gmail.com) Received: by nproxy.gmail.com with SMTP id a4so783999nfc for ; Sun, 01 Jan 2006 17:56:16 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=mmCW0SxFExsqAxuMDyjSNa/VaOScLVHWPoZRjb2VHB8zpAsu5E1S7jo+mpjIJFXhsBr04jo3Fr3NfBkKxuZfqpcfjrzlQOLzvfnAg09+SvI4TyPzk9A+zrp4LKXzBX2zqEsjL6BB6MN52LrpQI9OdChE9gIGe2nKwTpL/20ITJg= Received: by 10.49.94.16 with SMTP id w16mr26662nfl; Sun, 01 Jan 2006 17:56:15 -0800 (PST) Received: by 10.48.108.17 with HTTP; Sun, 1 Jan 2006 17:56:15 -0800 (PST) Message-ID: <5ceb5d550601011756u1f59fb14ubaba54a8b7137ceb@mail.gmail.com> Date: Mon, 2 Jan 2006 02:56:15 +0100 From: "Daniel A." To: freebsd-questions@freebsd.org In-Reply-To: <5ceb5d550601011755i30bb4f99x863f06dc51474377@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <000c01c60f1e$34729d80$6401a8c0@moreprivate> <5ceb5d550601011755i30bb4f99x863f06dc51474377@mail.gmail.com> Subject: Fwd: 6.0 server X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jan 2006 01:56:18 -0000 Did you install the php4-mysql port? If no, I suggest you take a look at ports/lang/php4-extensions, and make config. On 1/1/06, RJ wrote: > I thaught it would be a good idea to setup a 6.0 server and test it out.= Now I have a major headache and need some help. > > Setup: > FreeBsd 6.0 fresh install, cvsup, make buildworld .. etc: > portsnap fetch, extract: > mysql41-server: > apache13: > php4: (all from ports) > > Apache starts and I get the "default" apache page. Made a page with and tested, no problems. Made a page with: mysql_connect("localhost", "user", "password") or die(mysql_error()); > echo "Connected to MySQL
"; > ?> > When I navigate to the above page it's blank, chmod 777 and still blank. > > Shutdown Mysql and Restart: > mysqladmin -u root -ppassword shutdown > restart using: > /usr/local/bin/mysqld_safe -l --log-error --user=3Dmysql & > > sockstat verifies mysql is on 3306 and /tmp/mysql.sock > > The page is still blank and after "refreshing" 3 time and cleaning the= browser and the logs file don't show a connect or error. Flushed logs and = checked. > > Apache file doesn't show any errors and "display errors" is turned on = in php.ini. > > Mysql was installed using, mysql_install_db, chown -R mysql:mysql /var/db= /mysql/ > > Where do I look now or, does anyone know what needs to be done? > > Regards > > > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.1.371 / Virus Database: 267.14.9/217 - Release Date: 30/12/200= 5 > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" > >