[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: OpenBSD2.8,PHP3.0.18,Msql2.0.11
- From: Brent Reich <brent_(_at_)_rascallion_(_dot_)_com>
- Date: Sun, 31 Dec 2000 14:22:28 -0600 (CST)
I hope that this question is apropriate for the list, as it seems
to be the catch-all it seemed the best bet, and i have exhausted all my
Here is the scenario:
I have a OpenBSD 2.8 box with Apache 1.3.12, PHP 3.0.18 and Msql 2.0.11
installed, I followed all the compile instructions for interdependent
support ( i have done this before under other platforms). httpd -l shows
the mod_php is there, and i can telnet to the msql port and get an answer.
Here is the problem:
when going to the local php site, and clicking a link that will go to a
php/msql generated page all i get is the static html that is in the php
code, i dont get a return of any db data.
i set up a few small php pages to make sure that apache was parsing
the php correctly, it is.
i set up the max connection on msql very low, then opened several pages in
the site requesting db data, it errors with "msql has gone away", which I
*assume* means that the php *is* connecting to the database just not
Msql requests run from the command line comfirm that the db, tables
and info in them are there.
Things i am suspicious of:
this site is currently in production on a slackware server (and i would
like to move it to OpenBSD), is this something that may be a diffrence in
the way the 2 OS's handle the implementation of the tools involved?
Something i am very suspicious of:
there is no DNS set up for this site yet (since its already in
production), I am testing this under the url of http://xxx.xxx.xxx.xxx/ is
it possible that the msql queries connecting to 'localhost' need a
hostname in the URL or that apache wants the actual domain name or
if i run a tcpdump or sniffit on the ethernet port, i dont see any
connection from the website (its local), but i do see them if i telnet to
the msql port, is this because apache/php accesses the db directly to the
socket or is apache/php really not connecting to the db at all?
Any advice/suggestions will be much appreciated, thanx all!
Visit your host, monkey.org