Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Jan 2006 16:56:22 -0500
From:      "RJ" <ryanfirst@sympatico.ca>
To:        <freebsd-questions@freebsd.org>
Subject:   6.0 server
Message-ID:  <000c01c60f1e$34729d80$6401a8c0@moreprivate>

next in thread | raw e-mail | index | archive | help
--=======AVGMAIL-43B850075620=======
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

 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 <? =
phpinfo(): ?> and tested, no problems. Made a page with:  <?php
mysql_connect("localhost", "user", "password") or die(mysql_error());
echo "Connected to MySQL<br />";
?> =20
 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=20

   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.=20

   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/  =20

 Where do I look now or, does anyone know what needs to be done?

 Regards=20
   
--=======AVGMAIL-43B850075620=======
Content-Type: text/plain; x-avg=cert; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Content-Description: "AVG certification"

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/2005

--=======AVGMAIL-43B850075620=======--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000c01c60f1e$34729d80$6401a8c0>