Date: Mon, 2 Jan 2006 02:56:15 +0100 From: "Daniel A." <ldrada@gmail.com> To: freebsd-questions@freebsd.org Subject: Fwd: 6.0 server Message-ID: <5ceb5d550601011756u1f59fb14ubaba54a8b7137ceb@mail.gmail.com> In-Reply-To: <5ceb5d550601011755i30bb4f99x863f06dc51474377@mail.gmail.com> References: <000c01c60f1e$34729d80$6401a8c0@moreprivate> <5ceb5d550601011755i30bb4f99x863f06dc51474377@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <ryanfirst@sympatico.ca> 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 <? p=
hpinfo(): ?> and tested, no problems. Made a page with: <?php
> mysql_connect("localhost", "user", "password") or die(mysql_error());
> echo "Connected to MySQL<br />";
> ?>
> 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"
>
>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5ceb5d550601011756u1f59fb14ubaba54a8b7137ceb>
