[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: which package ?
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Re: which package ?
- From: Patrick Barendregt <pbarendregt_(_at_)_amersfoort_(_dot_)_xs4all_(_dot_)_nl>
- Date: 14 Dec 2002 20:35:00 +0100
- Cc: Greg Thomas <getbsd_(_at_)_sbcglobal_(_dot_)_net>
Op za 14-12-2002, om 20:18 schreef Greg Thomas:
> On Saturday, Dec 14, 2002, at 06:15 US/Pacific, Patrick Barendregt
> > Sorry but i (think) i found it...
> > I installed the core package and two other packages
> > one for imap and one for mysql.
> > I allso enabled the packages just like pkg_add said...
> > The strange thing is i get no errors what so ever but
> > the php pages are working but they do not find any row in the mysql
> > database. when i check manual the tables do have rows and i can select
> > them...
> > The php pages are good because the work for over a year now
> > on linux machines and on openbsd 2.9 and 3.0.
> > Did i do something wrong here or have i forgotten something ?
> Depends on how old your PHP code is. They changed the way variables
> are handled. Things like $HTTP_GET_VARS have been deprecated.
the message i found is the following
PHP Warning: MySQL Connection Failed: Can't connect to local MySQL
server through socket '/var/run/mysql/mysql.sock' (2)
and when i do a php_info i see without-mysql i installed the right
packages i believe and enabled the options just like pkg_add sais
so or apache is configured without mysql or php but further on in
php_info their is a message mysql enabled etc...
anyone who is using mysql with apache and php has the solution for me ??
Visit your host, monkey.org