[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: which package ?



Op za 14-12-2002, om 20:18 schreef Greg Thomas:
> On Saturday, Dec 14, 2002, at 06:15 US/Pacific, Patrick Barendregt 
> wrote:
> 
> > 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.
> 
> Greg

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